Quantcast
Viewing all articles
Browse latest Browse all 36188

PowerTip: Use PowerShell to Find GPOs Without a Description

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

Image may be NSFW.
Clik here to view.
Hey, Scripting Guy! Question
 How can I use Windows PowerShell to assist in detecting GPOs that do not have a description?

Image may be NSFW.
Clik here to view.
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

 

 

Image may be NSFW.
Clik here to view.

Image may be NSFW.
Clik here to view.

Viewing all articles
Browse latest Browse all 36188

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>