Scripting Blog

A place to learn about PowerShell and share stories of automation

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!

 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 Hello SK,Microsoft Scripting Guy Ed Wilson here. I have ...

Hey, Scripting Guy! How Can I Change My Desktop Monitor Resolution via Windows PowerShell?

 Hey, Scripting Guy! I need to be able to use a Windows PowerShell 2.0 script to change the resolution on my desktop monitor. Is this possible?-- AS Hello AS, Microsoft Scripting Guy Ed Wilson here, I have been looking for a script to change my monitor resolution for years! When I used to travel all over the world and taught ...