How to add a description or a comment to a GPO

Given that the Description property of the Get-GPO cmdlet has a Set method, this can be done with a simple one-liner.

(Get-GPO -Guid '12345678-9abc-def0-1234-56789abcdef0').Description='My comment for this GPO'

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s