Scripting Blog

A place to learn about PowerShell and share stories of automation

Hey, Scripting Guy! Can I Use Windows PowerShell 1.0 Scripts on Windows PowerShell 2.0?

(Editor’s note: Portions of today's Hey, Scripting Guy! Blog post are excerpted from the Microsoft Press book, Windows PowerShell 2.0 Best Practices by Ed Wilson which is now available for pre-order.) Hey, Scripting Guy! I see that Windows PowerShell 2.0 has officially released now and is included in Windows 7 and Windows Server ...

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

In this post:   Can I Submit Ideas for the 2010 Scripting Games? Hey, Scripting Guy! I saw on Twitter that you are actually beginning planning for next year’s Scripting Games. Is this true? Also, I have a couple of ideas that I think would make cool events. How can I suggest them to the appropriate ...

Hey, Scripting Guy! Part 2: How Can I Update Many Office Word Documents at Once?

(Editor's note: This is part 2 of a two-part article originally intended for TechNet Magazine. Part 1 was published yesterday.)  Now we arrive at the entry point to the script. The first thing to do in the entry point of the script is to create a collection of all the .doc and docx files in the folder indicated by the $path variable...

Hey, Scripting Guy! Part 1: How Can I Update Many Office Word Documents at Once?

(Editor's note: This is part 1 of a two-part article originally intended for TechNet Magazine. Part 2 will be published tomorrow.)   Little clouds of dust rise from the ground like miniature tornados carrying powdery sand that drifts along lazily on a nearly still breeze. The tires that support the ancient bus grind well-worn ...

Hey, Scripting Guy! Part 2: How Can I Make Sure That a WMI Provider Exists Before Using It in a Script?

(Editor's note: This is part 2 of a two-part article originally intended for TechNet Magazine. Part 1 was published yesterday.)    To obtain information about the provider for a WMI class, you will need to open the class. Click the Open Class button, and type the name of the WMI class in the box that appears. We are looking for...

Feedback usabilla icon