Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Modify Computer Location AttributeContent of Modify Computer Location Attribute.vbsMD5 Hash: 39808329EE02885E07C6A7336E473709 |
||
' Description: Demonstration script that changes the location attribute for a computer account in Active Directory.
Set objComputer = GetObject _ ("LDAP://CN=atl-dc-01,CN=Computers,DC=fabrikam,DC=com") objComputer.Put "Location" , "Building 37, Floor 2, Room 2133" objComputer.SetInfo | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |