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?
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?