cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
billyl
Level 3

How can I retrieve current system's hostname and ip?

Hi,

How can I retrieve the hostname (in FQDN) and IP of my current Windows Server 2003 system?

Thanks!

Billy
Labels (1)
0 Kudos
(2) Replies
RobertDickau
Flexera Alumni

If there's no built-in InstallAnywhere property for these, you could write a custom code action that calls methods in java.net.InetAddress...
0 Kudos
purcellk24
Level 7

There is a hostinfo plugin here http://www.acresso.com/downloads/downloads_7399.htm Just be careful when using on multi-homed machines.
0 Kudos