Month: May 2011

PowerShell to watch TechEd 2011 sessions

Now that TechED North America is done, all the sessions are now available for offline viewing at https://channel9.msdn.com/Events/TechEd/NorthAmerica/2011/RSS/. There were some great PowerShell sessions by Windows PowerShell team and MVPs. So, I quickly pulled this WPK script to display a simple UI to browse through the list and watch the session. Here is the code behind it: Import-Module wpk

I did not spend lot of time working on this. I could have added a play/pause/stop buttons as well. And, probably a few buttons to download the slides and PPT. 🙂 I added category dropdown at the top so that you can filter the videos by the category you’d like to watch. This one uses WPK module present in Windows 7 PowerShellPack.    

Product Review: IsDecisions RemoteExec 5.0

A few months ago, I had requested @IS_Decisions for a RemoteExec license. They were kind enough to me give me a licence which survived my heights of procrastination. Here is a long pending review of this excellent product. I have large number of lab systems — physical and virtual — and fortunately all running Windows OS. I use all these systems to run multiple SharePoint 2010 farms and a large test bed for load testing the SharePoint farms. So, when I perform load testing, I need to perform several tasks before I initiate the load tests. This includes anything from just remote restart of these systems to deploying software, etc. Also, for tasks such as starting physical machines on-demand, initializing virtual machines, and performing update operations, etc. I needed a simple, light-weight software to do all this in an automated manner. IsDecisions RemoteExec 5.0 is a best fit here. What is RemoteExec? According to IsDecision, RemoteExec, the universal deployer for Microsoft Windows systems, allows network administrators to remotely install from a desktop, all application and …

PowerShell Community in Bangalore – Survey

I have seen and interacted with quite a few folks — in and around Bangalore — asking for PowerShell help and training. There are, also, many folks who write scripts for automating their day to day tasks. I have always been trying to understand if there is need for a dedicated PowerShell user group at Bangalore. We delivered several sessions at Bangalore ITPro UG meets but then the focus is not always PowerShell. There are various other topics we would like to concentrate at Bangalore IT Pro user group meetings. I have been trying to do this survey for a while and just got a few things together. The intent of this survey is to understand if we need a dedicated PowerShell user group at Bangalore. This is for both developers and IT Professionals. This survey will help me find if there is enough interest to create a new focus group for PowerShell here in Bangalore. So, here is the survey around PowerShell community in Bangalore. http://twtpoll.com/fuw5g1 This survey will be open until 5/13/2011, 10AM (IST). So, if …

SharePoint Saturday (Online) India is here

We are happy to announce that the first edition of SharePoint Saturday India (online) for this year is scheduled for June 25, 2011. This is an online event and will be delivered via live meeting. The event registration link is open and you can register yourself here. Also, keep a watch on the SharePoint Saturday India page for a complete list of sessions. If you want to speak at this event, here is the link for session submission form: http://sharepointsaturday.org/india/Shared%20Documents/SPSIndia-SpeakerSubmission.dotx Last but not least, please tweet with #SPSIndia, email your colleagues and friends and let’s make this a great event!

Get-ApplicationPath: Get default application path for a file extension

One of the other scripts I am currently working on requires a way to find the default application path for any given file extension. For example, when I have multiple script editors installed on a system, I want to be able to determine what application will used when I right-click on a .PS1 file and select edit. This is what exactly the below function does. This is also available at: http://poshcode.org/2645

I used to registry to read relevant entries of HKLM hive. At the end, this function returns a custom object containing the extension and the application file path. Here is a sample output. Hope this is helpful. Do leave a comment if you have a better of way of doing this.