Found some references to look in the 2000 Resources Kit
but could not find it in there.
Could anyone post wehre I could download this script OR
sample script for me to use please?
Thanks a lot.....!!!!
Thanks a lot.....!!!!
---------------------
Here is a sample vbs script I keep on hand, just change the IP address as
needed:
Set objWMIService = GetObject("winmgmts:")
Set objNewPort = objWMIService.Get _
("Win32_TCPIPPrinterPort").SpawnInstance_
objNewPort.Name = "IP_157.57.80.15"
objNewPort.Protocol = 1
objNewPort.HostAddress = "157.57.80.15"
objNewPort.PortNumber = "9100"
objNewPort.SNMPEnabled = False
objNewPort.Put_
--
~~ JASON HALL ~~
~ Performance Support Specialist,
~ Microsoft Enterprise Platforms Support
~ This posting is provided "AS IS" with no warranties, and confers no
rights.
~ Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
~ Note: For the benefit of the community-at-large, all responses to this
message are best directed to the newsgroup/thread from which they
originated.
Thanks a lot.
You Rock.... This is what I was looking for...
Thanks a lot.
-------
No problem, glad I could help.