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