Scripting Blog

A place to learn about PowerShell and share stories of automation

Use PowerShell Parameter Attributes to Avoid Errors

Summary: Use Windows PowerShell parameter attributes to avoid input errors in a function.   Microsoft Scripting Guy Ed Wilson here. This week is great. The Scripting Wife and I are enjoying meeting Windows PowerShell luminaries. I am working with a group of IT pros to help them to learn Windows PowerShell, and the weather has been ...

Cool PowerShell Game Teaches Cmdlet Names

Summary: Learn Windows PowerShell cmdlet names by taking the Dr. Scripto Challenge. Microsoft Scripting Guy Ed Wilson here. The Scripting Wife and I are on a road trip in Canada. We had a wonderful time in Toronto with Windows PowerShell MVP Sean Kearney. Now we are heading to Ottawa where we plan to meet with Windows PowerShell MVP Kirk ...

Easily Compare Two Folders by Using PowerShell

Summary: Microsoft Scripting Guy Ed Wilson illustrates how to compare two folders by using Windows PowerShell.   Microsoft Scripting Guy Ed Wilson here. It is an absolutely beautiful day in Charlotte, North Carolina. The early morning rain gave way to a colorful rainbow. My manager bought me a new laptop, and I have been busy working on ...

Use PowerShell to Identify Your Real Network Adapter

Summary: Learn how to use Windows PowerShell to identify easily the real network adapter.   Hey, Scripting Guy! I have a problem that perhaps you can assist with. I know about WMI, and I know there is a class that represents a network adapter. The problem is that when I run the command, I get back lots of stuff that is not a real network ...