Loading |
VBScript |
JavaScript |
Powershell |
Search Options: List All the Attributes of an Active Directory ClassContent of List All the Attributes of an Active Directory Class.vbsMD5 Hash: B2E6E07AB9D82C0003C95FE4A4B3BA8B |
||
' Description: Returns all the attributes associated with the Computer class in Active Directory.
Set objSchemaComputer = GetObject("LDAP://schema/computer") WScript.Echo "Mandatory (Must-Contain) attributes" For Each strAttribute in objSchemaComputer.MandatoryProperties WScript.Echo strAttribute Next WScript.Echo VbCrLf & "Optional (May-Contain) attributes" For Each strAttribute in objSchemaComputer.OptionalProperties WScript.Echo strAttribute Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |