+ Post New Thread
Results 1 to 3 of 3
Windows Server 2000/2003 Thread, Get list of printers [Server 2000] in Technical; I'm planning on migrating a print server from Windows Server 2000 to 2008, but I need to get the list ...
  1. #1
    somabc's Avatar
    Join Date
    Oct 2007
    Location
    London
    Posts
    2,337
    Thank Post
    83
    Thanked 388 Times in 258 Posts
    Rep Power
    111

    Get list of printers [Server 2000]

    I'm planning on migrating a print server from Windows Server 2000 to 2008, but I need to get the list of printers/ports/model/IP etc.

    I thought this script would do it but it does not return any printer info.

    Code:
    strComputer = "."
    Set objWMIService = GetObject("winmgmts:" _
        & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
    
    Set colPorts =  objWMIService.ExecQuery _
        ("Select * from Win32_TCPIPPrinterPort")
    
    For Each objPort in colPorts
        Wscript.Echo "Description: " & objPort.Description
        Wscript.Echo "Host Address: " & objPort.HostAddress
        Wscript.Echo "Name: " & objPort.Name
        Wscript.Echo "Port Number: " & objPort.PortNumber
        Wscript.Echo "Protocol: " & objPort.Protocol
        Wscript.Echo "SNMP Community: " & objPort.SNMPCommunity
        Wscript.Echo "SNMP Dev Index: " & objPort.SnMPDevIndex
        Wscript.Echo "SNMP Enabled: " & objPort.SNMPEnabled
    Next

  2. #2


    Join Date
    Feb 2007
    Location
    Northamptonshire
    Posts
    4,691
    Thank Post
    352
    Thanked 796 Times in 715 Posts
    Rep Power
    347
    Microsoft provide a tool for this purpose.

    Download here.

  3. Thanks to kmount from:

    somabc (26th January 2009)

  4. #3
    somabc's Avatar
    Join Date
    Oct 2007
    Location
    London
    Posts
    2,337
    Thank Post
    83
    Thanked 388 Times in 258 Posts
    Rep Power
    111
    I looked at Print Migrator, but it seems it has been replaced for Server 2008. It may be possible to go from Server 2000 (PrintMig) -> Server 2003, then Server 2003 (Printer Migration Wizard) -> Server 2008??

    Migrate print servers

SHARE:
+ Post New Thread

Similar Threads

  1. Time Server List
    By Grommit in forum Windows
    Replies: 9
    Last Post: 15th September 2008, 10:38 AM
  2. Server 2000 Replication Help!!!!
    By mmoseley in forum Network and Classroom Management
    Replies: 9
    Last Post: 4th August 2008, 07:24 PM
  3. Windows Server 2000 DC to Server 2008 DC
    By ZeroHour in forum Windows Server 2008
    Replies: 9
    Last Post: 25th March 2008, 10:57 PM
  4. 2000 Server Time
    By Nij.UK in forum Windows
    Replies: 2
    Last Post: 19th May 2006, 11:49 AM
  5. ISA 2000 server problems............?
    By tosca925 in forum Windows
    Replies: 6
    Last Post: 6th December 2005, 01:05 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •