Scripting Blog

A place to learn about PowerShell and share stories of automation

See Why It Is Important for IT Pros to Learn PowerShell

Summary: The Scripting Wife sees why it is important for IT Pros to learn about Windows PowerShell. Microsoft Scripting Guy, Ed Wilson, is here. Morning comes early, especially when it is still morning. Today is the Charlotte IT Pro Appreciation Day conference in downtown Charlotte, North Carolina. The Scripting Wife needs to be there early to...

Use PowerShell Environmental Variables to Store Temporary Information

Summary: Use the Windows PowerShell environmental drive to store temporary information, and still use the Set-StrictMode cmdlet. Microsoft Scripting Guy, Ed Wilson, is here. It is exactly 11 days until the 2012 Scripting Games commence. Here is how I found out that salient piece of information. New-TimeSpan -Start (get-date) -End "april 2, ...

Scripting Manager Agrees to Judge the 2012 Scripting Games

Summary: Caught up in the excitement of all the 2012 Scripting Games prep work, the Scripting Manager agrees to be a judge this year. Microsoft Scripting Guy, Ed Wilson, is here. I have a bit of exciting news! Dave Bishop, "the Scripting Manager," has just agreed to be a judge for this years scripting games. What happened is this... He has ...

Avoid PowerShell Errors by Initializing Variables

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using the Set-StrictMode Windows PowerShell cmdlet to aid in detecting uninitialized variables. Microsoft Scripting Guy, Ed Wilson, is here. Charlotte, North Carolina is alive with color this morning. There is a blue jay sitting on the light post at the end of the driveway, and a ...

Use Strict Mode for PowerShell to Help You Write Good Code

Summary: Microsoft Scripting Guy, Ed Wilson, talks about calling a method like a function and using Windows PowerShell strict mode to aid script development. Microsoft Scripting Guy, Ed Wilson, is here. Believe it or not, the 2012 Scripting Games begin in less than two weeks! That is right, less than two weeks; it hardly seems possible. But ...