PowerTip: Use PowerShell to Find GPOs Without a Description

Doctor Scripto

Dr Scripto

Summary: Learn how to use Windows PowerShell to find GPOs without a description.

Hey, Scripting Guy! Question How can I use Windows PowerShell to assist in detecting GPOs that do not have a description?

Hey, Scripting Guy! Answer Use the Get-GPO cmdlet with the –all switch. Pipe the results to the Where-Object and look for an absence of the description property, as shown here.

14:38 C:\> Get-GPO -all | where {-not $_.description} | select displayname, description

 DisplayName                                Description

———–                                ———–


Default Domain Policy

Default Domain Controllers Policy

Enable WMI Relibility






Comments are closed. Login to edit/delete your existing comments