Discussion:
Determine name of host from Guest
(too old to reply)
Les Landau
2006-01-24 01:29:25 UTC
Permalink
Hi,

Does anyone know of a way of programatically determining the name of the
host GSX system when running on a guest machine?

Both are windows servers, and I'd like to do this for documentation (and
other) reasons - to be able to run code remotely that will tell me the name
of host if the target is a guest.

Preferably if this would work from VBScript or VB (haven't got into Perl
yet!!).

Any help most appreciated.

Thanks,
Les
Martin Mewes
2006-01-24 07:26:17 UTC
Permalink
Hi Les,
Post by Les Landau
Does anyone know of a way of programatically determining the name of the
host GSX system when running on a guest machine?
Both are windows servers, and I'd like to do this for documentation (and
other) reasons - to be able to run code remotely that will tell me the name
of host if the target is a guest.
Preferably if this would work from VBScript or VB (haven't got into Perl
yet!!).
I am not sure if this is possible as a guest system is totally separate from
the host system. What I can think about is if both the guest and the host
are registered on the same WINS server on the hosts network you could parse
the "pathping $internethost" or "tracert $internethost" output somehow.

On the other hand there are some things which should (and can) be documented
manually with a pencil and a paper ;-)
bis dahin / kind regards

Martin Mewes
--
Martin Mewes - MCP 070-291
http://www.mewes.tv/ - Homepage
http://mbox.mewes.tv/ - Mailinglisten zum Downloaden
Continue reading on narkive:
Loading...