Scripting Blog

A place to learn about PowerShell and share stories of automation

TechEd 2013: A Couple of Scripts

Summary: A couple of quick Active Directory scripts from the Scripting Guys booth. This morning Brian Wilhite, Chris Duck, and Mike Robbins were playing around with Windows PowerShell. They decided to create a couple of scripts. The first script creates an organizational unit and ten users in the organizational unit. Here are Chris, Mike and ...

Learn How IT Pros Can Use the PowerShell AST

Summary: Guest blogger, Microsoft PowerShell MVP, Bartek Bielawski, shows how to use the Windows PowerShell AST. Microsoft Scripting Guy, Ed Wilson, is here. Not only do we have a special guest today as our guest blogger, it is a special day in the Scripting House because it is the Scripting Wife’s birthday. So Happy Birthday, Scripting ...

Focus on the Object

Summary: In today’s guest article, Microsoft PowerShell MVP Shane Hoey reminds us to focus on the object. Microsoft Scripting Guy Ed Wilson here. Today we have a guest article by Windows PowerShell MVP Shane Hoey. Here is what Shane has to say about himself: “My scripting experience started back when Windows XP was the new kid...

Use Regular Expression Pattern when Parsing PowerShell Script

Summary: Part three in the series about replacing Windows PowerShell aliases with full cmdlet names uses a regular expression pattern and the tokenizer. Weekend Scripter Microsoft Scripting Guy, Ed Wilson, is here. With the final scripts uploaded for the 2011 Scripting Games, the judges are hard at work finishing the grading in preparation for...