![]() Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Determine if an OU is Blocking Group Policy Inheritance
|
||
Set objOU = GetObject("LDAP://ou=Finance,dc=fabrikam,dc=com")
If objOU.gpOptions = 1 Then Wscript.Echo "Block policy inheritance is enabled." Else Wscript.Echo "Block policy inheritance is not enabled." End If | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |