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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Printer Port Amendment

Status
Not open for further replies.

sn0rg

IS-IT--Management
Joined
Aug 5, 2005
Messages
95
Location
GB
Guys

I have some 2003 print servers setup with IP Printer ports. The ports have been set with hostnames instead of IP addresses.

I need a way of converting the hostname to an IP address. Name resolution is not an issue.

I need to be able to change the entry in the port properties from the name to the IP address. I looked at WMI for this, via the Win32_TCPIPPRINTERPORT class, but the HostAddress attribute is read-only via WMI. The field can be edited through the GUI, so it must be do-able.

Anyone know a way?

 
Managed it via a put_(0) in the end.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top