Linking a GPO

New GPOs do not do anything until they are linked to a location inside Active Directory. I have now recreated the MyNewGPO object, and we are going to link it to the OU called IT Department via the following command:

New-GPLink -name MyNewGPO -target "ou=IT Department,dc=mydomain,dc=local"

You can see that I had to specify not only the name of the OU, but also its location inside the directory. This ensures that the cmdlet can correctly identify the OU to which we are linking. Checking inside GPMC again, the IT Department OU now has a link to MyNewGPO:

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.223.158.160