Scripting Blog [archived]

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

Use PowerShell to Save Time with Win32_TimeZone and DST Time Changes

Summary: Write a Windows PowerShell function to determine the status of time changes to daylight savings time. Microsoft Scripting Guy, Ed Wilson, is here. At the Windows PowerShell User Group meeting in Charlotte, North Carolina, Brian Wilhite talked about a few of his scripts during the script club. I said, “Dude, that is cool, and I ...

Use PowerShell to Automate SCOM Agent Installations

Summary: Guest blogger, Boe Prox, shows how to use Windows PowerShell to automate SCOM agent installations. Microsoft Scripting Guy, Ed Wilson, is here. Last month, guest blogger, Boe Prox, wrote a series of blogs about WSUS. Today he is back to talk about SCOM. (image) Boe Prox is currently a senior systems administrator with BAE Systems. He...

Use .NET Framework Classes to Augment PowerShell when Required

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell classes to augment the native functionality of Windows PowerShell. Microsoft Scripting Guy, Ed Wilson, is here. It seems like the conference season is gearing up. Keep an eye on my upcoming appearances page so hopefully you can catch the Scripting Wife and me at ...

Why Use .NET Framework Classes from Within PowerShell?

Summary: Microsoft Scripting Guy, Ed Wilson, talks about the need to use .NET Framework classes from within Windows PowerShell code. Microsoft Scripting Guy, Ed Wilson, is here. The Scripting Wife and I had a great meeting with the Windows PowerShell Users Group in Charlotte, North Carolina. It was a script club format, so there was no set ...

Use Tab Expansion in the PowerShell ISE to Avoid Cmdlet Aliases

Summary: Learn how to use Tab Expansion in the Windows PowerShell ISE to avoid using cmdlet aliases and to add complete parameter names in commands. (image) Hey, Scripting Guy! I spend a decent amount of time working with scripts, and I would like to learn how to use the Windows PowerShell ISE more effectively. I have heard that I should not ...