Scripting Blog

A place to learn about PowerShell and share stories of automation

Learn How to Run PowerShell Scripts Against Multiple Computers

  Summary: Microsoft Scripting Guy Ed Wilson teaches you how to run Windows PowerShell Scripts against multiple computers in this step-by-step article. Hey, Scripting Guy! I am wondering on the best way to cause my script to work against multiple computers. -- LS Hello LS, Microsoft Scripting Guy Ed Wilson here. I ...

Pausing a Windows PowerShell Script to Receive Keyboard Input

 Summary: Pausing execution of a Windows PowerShell script to receive keyboard input can be as simple as using the Read-Host cmdlet. But other methods are available. Hey, Scripting Guy! I would like to pause a Windows PowerShell script and wait for user input. When the user types a particular key on the keyboard, I would like the ...

Hey, Scripting Guy! Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (10/2/09)

In this post:  Troubleshooting a VBScript That Uses Systems Management Server 2003Hey, Scripting Guy! I'm beating my head against the wall with a VBScript. My intent is to run this script on all my Windows XP machines (600), using Systems Management Server (SMS) 2003 to determine their uptime in hours since last ...

Hey, Scripting Guy! How Can I Ensure That Users Submit Only Allowed Values for Script Parameters?

 I have a script that I wrote for the help desk people. It is actually a pretty cool script because it lets the user of the script type in a WMI class name, and it connects to the remote computer and retrieves all the information from the particular WMI class that they typed. The problem is that some of the help desk people do not always ...

Hey, Scripting Guy! How Can I Verify Input Received from the Command Line?

 I am the script writer at my company, and I have really been enjoying your articles on Windows PowerShell. I have begun the process of converting some of our old VBScripts to Windows PowerShell, and all of my new scripts are written in Windows PowerShell. Because I am the only one who writes scripts at my company (in fact, I am the only ...