-
Notifications
You must be signed in to change notification settings - Fork 7
Home
Skatterbrainz edited this page May 13, 2019
·
1 revision
Get comments for all GPOs in the current AD domain:
Get-GPOComment -GPOName '*' -PolicyGroup 'Policy'
Get comments for all Settings in every GPO in the current AD domain:
Get-GPOComment -GPOName '*' -PolicyGroup 'Settings'
Get comments for all GPO Preferences in the current AD domain:
Get-GPOComment -GPOName '*' -PolicyGroup 'Preferences'
You can easily pipe the output of the examples shown above to whatever you need. For example, Out-File