Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Delete an Active Directory SubnetContent of Delete an Active Directory Subnet.vbsMD5 Hash: 5594E5A4F2A0EC9A4B835D4985EA9E6C |
||
' Description: Deletes an Active Directory subnet.
strSubnetCN = "cn=192.168.1.0/26" Set objRootDSE = GetObject("LDAP://RootDSE") strConfigurationNC = objRootDSE.Get("configurationNamingContext") strSubnetsContainer = "LDAP://cn=Subnets,cn=Sites," & strConfigurationNC Set objSubnetsContainer = GetObject(strSubnetsContainer) objSubnetsContainer.Delete "subnet", strSubnetCN | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |