Announcement

Collapse
No announcement yet.

Query for all printer IP addresses

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Query for all printer IP addresses

    Guys,

    Does anyone know a command / script that will query AD and return all printers and their IP addresses. The only problem is is our port names are not the default of IP_xx.xx.xx.xx. So we can query AD for all printer port names.

    All servers are W2k3.

    Thanks

    Michael
    Last edited by m80arm; 20th October 2006, 09:38.
    Michael Armstrong
    www.m80arm.co.uk
    MCITP: EA, MCTS, MCSE 2003, MCSA 2003: Messaging, CCA, VCP 3.5, 4, 5, VCAP5-DCD, VCAP5-DCA, ITIL, MCP, PGP Certified Technician

    ** Remember to give credit where credit is due and leave reputation points sigpic where appropriate **

  • #2
    Re: Query for all printer IP addresses

    Found an answer:

    CD c:\windows\system32
    cscript prnport.vbs -l -a <servername>

    http://www.microsoft.com/resources/d....mspx?mfr=true

    Just incase anyone is interested...

    Michael
    Michael Armstrong
    www.m80arm.co.uk
    MCITP: EA, MCTS, MCSE 2003, MCSA 2003: Messaging, CCA, VCP 3.5, 4, 5, VCAP5-DCD, VCAP5-DCA, ITIL, MCP, PGP Certified Technician

    ** Remember to give credit where credit is due and leave reputation points sigpic where appropriate **

    Comment

    Working...
    X