If you want to move printers from one server to the
other, there are a number of utilities that will do it
for you in the Resource Kit
Print Migrator
PRNAdmin also has scripts that will do the same and you
can use them to troubleshoot what is wrong with your
script.
>-----Original Message-----
>On Error Resume Next
>strComputer = "."
>Set objWMIService = GetObject("winmgmts:\\" &
strComputer
>& "\root\cimv2")
>Set colItems = objWMIService.ExecQuery("Select * from
>Win32_Printer")
>For Each printer in colItems
> printer.ServerName = servername
> If servername = "\\oldserver" Then
> servername = "\\newserver"
>end if
>next
>
>to move folks from one printserver to the new one with
>identical printers
>.
>
|