Deleting a GPO Link

But what if we decide that we really don't need MyNewGPO linked to an IT department at all, and now we want to completely remove that link? This is accomplished just as easily as disabling a GPO link; removal is a one-line command inside PowerShell:

Remove-GPLink -Name MyNewGPO -Target "ou=IT Department,dc=mydomain,dc=local"

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.