Quantcast
Channel: TechNet Blogs
Viewing all articles
Browse latest Browse all 36188

PowerTip: Use PowerShell to Find GPOs Without a Description

$
0
0

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

-----------                                -----------

wsus

Default Domain Policy

Default Domain Controllers Policy

Enable WMI Relibility

EnablePSRemoting

BackupOnLogOff

 

 


Viewing all articles
Browse latest Browse all 36188

Trending Articles