Showing archive results for 2013

Feb 9, 2013
Post comments count0
Post likes count0

PowerTip: Use PowerShell to Find GPOs Without a Description

Doctor Scripto

Summary: Learn how to use Windows PowerShell to find GPOs without a description.  How can I use Windows PowerShell to assist in detecting GPOs that do not have a description?  Use the Get-GPO cmdlet with the –all switch. Pipe the results to the Where-Object and look for an absence of the descriptio...

Scripting Guy!Windows PowerShellPowerTip
Feb 9, 2013
Post comments count0
Post likes count0

Weekend Scripter: Playing Around with PowerShell Namespace ApartmentState

Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about exploring the Windows PowerShell namespace ApartmentState property. Microsoft Scripting Guy, Ed Wilson, is here. Ah, it is the weekend. It is not that I “live for weekends” or anything like that. It is just that weekends are different. I generally spend more time preparing my brea...

Scripting Guy!Windows PowerShellWeekend Scripter
Feb 8, 2013
Post comments count0
Post likes count0

PowerTip: Easily Find the PowerShell ApartmentState

Doctor Scripto

Summary: Easily find the Windows PowerShell ApartmentState.  How can I easily find the Windows PowerShell ApartmentState?  Use the $host automatic variable, and select the ApartmentState property from the RunSpace object, as shown here. PS C:\> $Host.RunSpace.ApartmentState STA

Scripting Guy!Windows PowerShellPowerTip
Feb 8, 2013
Post comments count0
Post likes count0

Use PowerShell to Find Group Policy RSoP Data

Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to generate a Group Policy Resultant Set of Policy (RSoP) report. Microsoft Scripting Guy, Ed Wilson, is here. I can tell you that spring is definitely heating up. Not necessarily temperature-wise, but in the world of Windows PowerShell. We have the MVP summit coming ...

Scripting Guy!Windows PowerShellscripting techniques
Feb 7, 2013
Post comments count0
Post likes count0

PowerTip: Use PowerShell to Get a Listing of All GPOs in a Domain

Doctor Scripto

Summary: Use a Windows PowerShell cmdlet from the RSAT tools to display all GPOs defined in a domain.  How can I get a listing of all the GPOs defined in my domain?  Use the Get-GPO cmdlet from the RSAT tools. Instead of specifying a GPO name or GUID, use the –all switch, as shown here. Get-GPO -all

Scripting Guy!Windows PowerShellPowerTip