Scripting Blog [archived]

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

Scripting Wife Uses PowerShell to Shut Down Computers

Summary: The Scripting Wife learns how to use Windows PowerShell to shut down remote computers. Microsoft Scripting Guy, Ed Wilson, here. It is raining outside and every so often a window-shaking thunder clap erupts outside, jarring the teeth of everyone inside our house in Charlotte, North Carolina. Because I know that the Scripting Wife ...

Use PowerShell to Add Commands to the Windows Explorer Command Bar

Summary: Learn how to use Windows PowerShell to add commands to the Windows Explorer command bar in Windows 7 and Windows Vista. Weekend Scripter Microsoft Scripting Guy, Ed Wilson, here. Did you ever have one of those times when a seemingly simple project suddenly morphed into a monster project? It seems that when I have a bit of extra time, ...

Using Windows PowerShell to Determine if a Laptop Is on Battery Power

  Microsoft Scripting Guy Ed Wilson here. It is time for another road trip. This time we are heading to Asheville, North Carolina for the Blue Ridge Classic Horse Show. Somewhere deep in my Scripting Guy lineage is an association with Kentucky, which is considered a horse state. Horse shows are really cool. My significant other and I went...

Hey, Scripting Guy! Weekend Scripter: How Can I Use WMI to Detect Laptops?

(image) Microsoft Scripting Guy Ed Wilson here. With the 2010 Scripting Games over, I have a bit of extra time on the weekends. I was catching up on reading some of my favorite blogs, such as the WMI team blog, when I ran across a post that reminded me of a question I used to be asked when I was teaching my WMI class. I was often asked about ...

Hey, Scripting Guy! How Can I Use WMI to Set the Screen Saver Timeout Value on Workstations?

(image)     (image) Hey Scripting Guy! I have been trying to set the screen saver time out value on my workstations by using WMI. It is not working. Can you help me get WMI working?-- HR (image) Hello HR, Microsoft Scripting Guy Ed Wilson here. My teapot is empty. I was getting ready to head downstairs to fix me a ...