Scripting Blog [archived]

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

PowerShell Workflows: A Practical Example

Summary: Honorary Scripting Guy and PowerShell MVP Richard Siddaway concludes his exciting series on Windows PowerShell workflows with a practical example. Microsoft Scripting Guy, Ed Wilson, is here. Today, we have the last article in the most excellent Richard Siddaway workflow 8-part series.  Note The first article, PowerShell ...

PowerTip: Start Your PowerShell 3.0 Script in PowerShell 2.0

Summary: Learn how to start your Windows PowerShell 3.0 script in Windows PowerShell 2.0 mode. (image)  I have a Windows PowerShell script I wrote several years ago. The script runs fine on a computer running Windows 7 with Windows PowerShell 2.0, but it does not work on my Windows 8 computer. I want to see ...

Learn How to Easily Troubleshoot PowerShell Remoting

Summary: Microsoft Scripting Guy, Ed Wilson, shows you how to easily troubleshoot Windows PowerShell remoting. (image)  Hey, Scripting Guy! I have a problem. I am running Windows 8 on my desktop, and I have upgraded our Hyper-V servers to Windows Server 2012. For those computers, I can easily use Windows PowerShell remoting and ...

PowerTip: Use PowerShell to Reveal the Size of an [int16]

Summary: Use Windows PowerShell to show the minimum value and the maximum value of an [int16]. (image)  I need to use an [int16], but I am not sure if it is big enough to hold the number I want to use. How can I determine the minimum and the maximum value of an [int16]? (image)  Use the static MinValue and MaxValue ...