Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

TCP/IP Ports in W2K

Status
Not open for further replies.

CCurzon

Programmer
May 7, 2003
1
CA
Hello All,

I am trying to write a log on script for a Win2K/WinXP mixed network. The purpose of the script is to remove any printers on TCP/IP ports, remove those ports, then install whatever port/printer the admin has chosen for that computer. The snag I'm running into is that in WinXP you can use WMI to "Select * from Win32_TCPIPPrinterPort", but Win2K doesn't have the Win32_TCPIPPrinterPort. Is there any way anyone can come up with to do this?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top