Scripting Blog [archived]

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

Don’t Write WMI Scripts, Use a PowerShell Module

Summary: Learn how to use a free Windows PowerShell module to avoid writing WMI scripts to get common administrator information.   Microsoft Scripting Guy Ed Wilson here. One of the things that is really cool about Windows PowerShell modules, is that you can mix and match them. In this way, a module, a pair of modules, or an entire ...

Combine PowerShell Modules to Avoid Writing Scripts

Summary: Learn how to combine Windows PowerShell modules to save time and reduce scripting overhead.   Microsoft Scripting Guy Ed Wilson here. One of the cool things about Windows PowerShell modules is that they are easy to share. In addition, because the code is packaged as a module, one automatically knows what to do with the module, ...

Don't Write Scripts, Write PowerShell Modules

Summary: The Microsoft Scripting Guys talk about turning three scripts into a single module to configure basic desktop tasks.   Microsoft Scripting Guy Ed Wilson here. I have spent the last several days building a new computer. The following photo shows me working on my new computer. (image) It actually took me only a couple of hours to ...

Don't Write Scripts, Write PowerShell Functions

Summary: There are times when piling Windows PowerShell cmdlets together becomes a bit cumbersome, so instead of writing a script, consider functions. Weekend Scripter Microsoft Scripting Guy, Ed Wilson, is here. There are times, when I want to do things that are a bit more complicated than piecing together cmdlets in a straightforward manner...