Featured Posts
.NET isolated Storage in PowerShell: user store vs machine store

.NET isolated Storage in PowerShell: user store vs machine store

This post has been in draft for a long time. So, clicking publish today :)  In a couple of earlier posts, I wrote about using .NET isolated storage and an example showing a use case for this. In today's post, I will explain the differences between user store and machine store. I admit, ...

Install and configure iFilters for SharePoint 2010 using PowerShell & updated PS SP2010 Utils

Install and configure iFilters for SharePoint 2010 using PowerShell & updated PS SP2010 Utils

This is one of the recent additions to my SharePoint 2010 PowerShell scripts & Utilities project on Codeplex. I wrote a generic script cmdlet to take care of iFilter MSI install, make changes to DOCICON.XML, and add the crawl extension to the search service application. This could be useful to those ...

Storing PowerShell ISE editor preferences using .NET isolated storage

Storing PowerShell ISE editor preferences using .NET isolated storage

This evening I wrote a post on how we can use .NET isolated storage in PowerShell. As a follow up, I thought it will be useful if I can show a use case for this. So, in this post, I will show a profile script I just wrote that saves ...

eBook: Layman's guide to PowerShell 2.0 remoting

eBook: Layman's guide to PowerShell 2.0 remoting

If are you a regular visitor to this blog, you may be aware of my PowerShell remoting series of blog articles. Traffic to this blog increased by almost 80% ever since I started the remoting series. This set of articles appear on the first page of Internet search almost all ...

Using .NET isolated storage in PowerShell

Using .NET isolated storage in PowerShell

I saw a tweet from @sumukk this morning and it was about .NET isolated storage in PowerShell      Before we go in to how we can use that in PowerShell, here is how a MSDN article describes isolated storage   When an application stores data in a file, the file name and storage location ...


WMI Query Language (WQL) – An introduction

July 22, 2010

I have been using WMI a lot these days and got to play with WQL as well. In this series of posts, I want to write about how WMI Query Language (WQL) can be used to retrieve management data exposed by WMI. Yes, this has nothing to do with PowerShell but as a PowerShell lover [...]

Continue Reading →

MVP award in PowerShell

July 16, 2010

I am probably the last one to blog about the July 2010 MVP awards. I have not been able to update this blog regularly for several reasons. Anyway, on July 1st, I received the MVP award notification from MS. I did not even know about it until @msigeek called me up to give the news. I [...]

Continue Reading →

Search and download scripts from TechNet Script Center repository

July 7, 2010
Thumbnail image for Search and download scripts from TechNet Script Center repository

If you have ever used PoshCode, you can search & download scripts from PoshCode using PowerShell. They even have a module for that. PowerGUI provides features to search PoshCode and download/upload scripts to PoshCode from PowerGUI Script Editor. A similar script or an option does not exist for TechNet Script Center. So, this is my [...]

Continue Reading →

Quick PowerShell Tip: Check if a given path is absolute or relative

July 1, 2010
Thumbnail image for Quick PowerShell Tip: Check if a given path is absolute or relative

You may, sometimes, want to check if a user provided file/folder path is relative or absolute and run the appropriate action based on the result. The System.IO.Path name space provides a simple method to verify that. That method is IsPathRooted(). This method will return True if the path is absolute and False if it is [...]

Continue Reading →

Quick PowerShell Tip: Generating random filenames

June 30, 2010
Thumbnail image for Quick PowerShell Tip: Generating random filenames

While answering a question on Windows PowerShell forum, I came across a few interesting methods in the System.IO.Path namespace. One such method is GetRandomFileName(). This method can be used to generate a random, and cryptographically strong string that you can use as a folder or a file name. The usage is quite simple.

Continue Reading →

PasteBin.com WPF addon for PowerShell ISE

June 17, 2010

In my last post, I showed you a teaser of an upcoming post. So, this post is about the PowerShell ISE and PowerGUI 2.1 Script Editor (PGSE) addon for uploading code to PasteBin.com. This happens to be my first WPF addon for PowerShell ISE. The PGSE version of this will soon be out. I am [...]

Continue Reading →