Showing results for writing scripts - Scripting Blog [archived]

Apr 25, 2015
0
0

PowerTip: Determine if Property is Member of Object

Doctor Scripto
Doctor Scripto

Summary: Determine if a property is a member of an object in Windows PowerShell.  How can I determine if a specific property is actually a member of an object in my Windows PowerShell script?  Use the Get-Member cmdlet, and cast the response into a Boolean data type by using the [bool] type        ...

Scripting Guy!Windows PowerShellscripting techniques
Jun 3, 2013
0
0

TechEd 2013: A Couple of Scripts

ScriptingGuy1
ScriptingGuy1

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 Brian ...

Scripting Guy!Active DirectoryTechEd
Sep 26, 2012
0
1

Learn How IT Pros Can Use the PowerShell AST

Doctor Scripto
Doctor Scripto

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 Wife...

Scripting Guy!Windows PowerShellscripting techniques
Oct 23, 2011
0
0

Focus on the Object

Doctor Scripto
Doctor Scripto

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 on ...

Scripting Guy!Windows PowerShellscripting techniques
Apr 23, 2011
0
0

Use Regular Expression Pattern when Parsing PowerShell Script

ScriptingGuy1
ScriptingGuy1

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 ...

Scripting Guy!Windows PowerShellscripting techniques