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'
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'