Scripting Blog

A place to learn about PowerShell and share stories of automation

Use PowerShell Default Parameter Values to Simplify Scripts

Summary: Microsoft PowerShell MVP and guest blogger Dave Moravec talks about using default parameter values to simplify Windows PowerShell scripts. Microsoft Scripting Guy, Ed Wilson, is here. Well, our European Tour is drawing down, but it’s not over yet. Yesterday, we had a great time with Bartek in Warsaw, and last night we took the ...

Weekend Scripter: Run All Cmdlets from a Module

Summary: Microsoft Scripting Guy, Ed Wilson, talks about running all Get cmdlets from a specific Windows PowerShell module. Microsoft Scripting Guy, Ed Wilson, is here. Today, the Scripting Wife and I are once again on a train—this time we are heading to Warsaw to visit Windows PowerShell MVP Bartek Bielawski. Bartek won the Scripting ...

How to Run PowerShell Scripts from a Shared Directory

Summary: Guest bloggers Judith Herman and June Blender discuss how to run Windows PowerShell scripts from a shared directory. Microsoft Scripting Guy, Ed Wilson, is here. Today, we have a guest blog with two writers Judith Herman and June Blender. June has been a guest blogger before (see more here), but this is the first time for Judith. ...

Avoid Overload by Scaling and Queuing PowerShell Background Jobs

Summary: Use scaling and queuing Windows PowerShell background jobs to avoid system overload.   Microsoft Scripting Guy Ed Wilson here. Today I am proud to announce the return of Boe Prox to the blog.   Boe Prox is currently a senior systems administrator with BAE Systems. He has been in the IT industry since 2003 and has spent the ...

Create a Custom Object from WMI by Using PowerShell

Summary: Create a custom object from WMI to display processor and operating system information using Windows PowerShell.   Hey, Scripting Guy! Your script yesterday was pretty cool. However, in addition to obtaining information about the processor, I also need to know operating system is 32-bit or 64-bit, the version of Windows that is ...