Script to change printer location and description on Windows 2003 server
Posted on 2005-03-01
I need a script to change printer location and description on windows 2003 server.
Set objOU = GetObject("LDAP://OU = Finance, DC = fabrikam, DC = com")
objOU.Filter = Array("printqueue")
For Each objPrintQueue In objOU
objPrintQueue.Put "Location" , "USA/Redmond/Finance Building"
This script does not work for us since it is for Active Directory, we need it for local server.