GPO link enabled via GPO


Set-GPLink -Name IE_extention -Target “OU=Computers,OU=SNXTTestOU,DC=test,DC=com” -LinkEnabled yes

Set-GPLink -Name TestGPO -Domain north.contoso.com -Target "dc=south, dc=contoso, dc=com" -LinkEnabeled Yes -Enforced Yes -Order 1
set-gplink -guid 77c5285d-952e-4559-94ef-a02f5c107799 -target "test-site"  -enforced yes

More info:
https://technet.microsoft.com/en-us/library/ee461022.aspx

Specific GPO linked OU's find CMD:

Get-ADOrganizationalUnit -LDAPFilter '(gPLink=*9f49b6f8-0e71-4ad5-8f5e-ca294a6b28dc*)' | Select DistinguishedName
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: