Showing archive results for February 2013

Feb 11, 2013
Post comments count0
Post likes count0

Clean Up Your PowerShell History to Remove Error Entries

Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, shows how to remove all error commands from your Windows PowerShell command history. Microsoft Scripting Guy, Ed Wilson, is here. One of the great things about being involved with a Windows PowerShell user group is all the great people I meet and all the cool ideas that arise. It seems that every time I ...

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

PowerTip: Use PowerShell to Obtain Permissions Report for a GPO

Doctor Scripto

Summary: Learn how to use Windows PowerShell to obtain a permissions report for a specific Group Policy Object (GPO).  How can I use Windows PowerShell to obtain a report of permissions for a specific Group Policy Object (GPO)?  Use the Get-GPPermission cmdlet, specify the name of the GPO and use –all to obt...

Scripting Guy!Windows PowerShellPowerTip
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