Showing results for PowerShell 3 - Scripting Blog [archived]

Dec 6, 2012
Post comments count0
Post likes count0

Use the PowerShell Best Practices Module to Configure Servers

Doctor Scripto
Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using the Windows PowerShell Best Practices module to audit configuration of servers. Microsoft Scripting Guy, Ed Wilson, is here. Well, tonight is the Charlotte Windows PowerShell user group. We are doing a mini version of the Scripting Games, and so if you are in the area, you should check ...

Scripting Guy!Windows PowerShellActive Directory
Dec 3, 2012
Post comments count0
Post likes count0

Use PowerShell Default Parameter Values to Simplify Scripts

Doctor Scripto
Doctor Scripto

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

Scripting Guy!Windows PowerShellscripting techniques
Dec 2, 2012
Post comments count0
Post likes count0

PowerTip: Find All Cmdlets When Searching by a Specific Noun or Verb

Doctor Scripto
Doctor Scripto

Summary: Use this trick to find all cmdlets when searching by a specific noun or verb.  When I just open up Windows PowerShell 3.0, an error arises when I try to search for a cmdlet by a noun or verb. The error is “Object reference not set to an instance of an object.” Is there something I can do to solve this problem? &n...

Scripting Guy!Windows PowerShellPowerTip
Dec 1, 2012
Post comments count0
Post likes count0

PowerTip: Find Updatable WMI Classes

Doctor Scripto
Doctor Scripto

Summary: Learn how to use Windows PowerShell 3.0 to easily find WMI classes you can update.  How can I find WMI classes that support updating? Use the Get-Cimclass cmdlet and a wild card for the WMI class name. Then, look for the class qualifier of supportsupdate, as shown here. Get-CimClass -ClassName * -QualifierName supp...

Scripting Guy!Windows PowerShellPowerTip
Nov 29, 2012
Post comments count0
Post likes count0

Use PowerShell to Set the Power Plan on Networked Servers

Doctor Scripto
Doctor Scripto

Summary: Use a couple of simple Windows PowerShell commands to report the power plan settings on servers as well as setting them. Microsoft Scripting Guy, Ed Wilson, is here. Well, today the Scripting Wife and I travel to The Netherlands for the sold-out Dutch Windows PowerShell user group meeting. This all-day user group meeting is sort of like a ...

Scripting Guy!Windows PowerShelloperating system