Disabling GPO enforcement

Now we back away our previous change, leaving the link in place at the IT Department, but changing it back so that Enforced is no longer enabled:

Set-GPLink -Name "MyNewGPO" -Target "ou=IT Department,dc=mydomain,dc=local" -Enforced No

Get Mastering Windows Group Policy now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.