Removing GPO permissions
I mentioned using None as a PermissionLevel to remove someone's rights from GPO Delegation, but let's spin out a sample command to make sure you can do it on your own. When deleting a GPO or a GPO Link, you are utilizing entirely different PowerShell cmdlets (one starting with the word Remove) from what you use for building those objects, but for GPO permission removal you do not use a Remove-type command. Instead, you continue to use Set-GPPermissions, but flag them for configuring a PermissionLevel called None. Here is a command that reverses the rights that we just handed to our user called Grace. We have now decided she does not require permission to modify MyNewGPO, and so we are going to take those rights away ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access