Scripting Blog [archived]

Formerly known as the "Hey, Scripting Guy!" blog

Hey, Scripting Guy! Can You Get Me Going on Windows PowerShell Cmdlets for Group Policy?

  (image) Hey, Scripting Guy! I need to work with Group Policy Objects (GPOs) by using a Windows PowerShell script. I understand there are new Group Policy cmdlets in Windows 7, but when I use the Get-Command cmdlet, I do not see any cmdlets. Is this a Release-to-Web (RTW) feature, or did it not make the cut for the final product? -- CT...

Hey, Scripting Guy! Weekend Scripter: Checking for Module Dependencies in Windows PowerShell

  Microsoft Scripting Guy Ed Wilson here. One of the cool things about Windows PowerShell is that if you do not like the way it does things, you can change it. If there is something that is lacking in the released product, you can often find it in a module that someone has written and posted to the web. There are several good modules ...

Hey, Scripting Guy! Weekend Scripter: Getting Closure with the GetNewClosure Method

  Microsoft Scripting Guy Ed Wilson here. The first weekend after vacation—ah! During my one-on-one meeting with my manager this past week, Steve asked me, “How is it going?” I replied, “I need a vacation from my vacation.” That tends to be the rule with me rather than the exception. I seldom get to vacate on...

Hey, Scripting Guy! Awww—Windows PowerShell Plays Nice-Nice with VBScript and Batch!

  (image) Hey, Scripting Guy! I would like to be able to integrate VBScript scripts into my Windows PowerShell code. I also have some batch files I wish I could use with Windows PowerShell. I do not want to have to rewrite code that works perfectly fine. Is this possible? -- SK   (image) Hello SK, Microsoft Scripting Guy Ed Wilson ...