Username to Hostname Resolution



Shawn McGowen
07-10-2005, 02:53 AM
Hello:

We have recently gone through a merger and a new hostname naming convention
has been implemented. Prior to the merger the user's username matched their
hostname. Sadly, the new naming conventions no longer have that correlation.
We went from hostnames being JohnD to now DEN55466. Is there an MS
command-line utility or perhaps a third party utility that would allow me to
type in the username, press enter and then the hostname would be displayed?

Thank you very much for your assistance.

JS
07-10-2005, 02:53 AM
Shawn McGowen wrote:
> Hello:
>
> We have recently gone through a merger and a new hostname naming convention
> has been implemented. Prior to the merger the user's username matched their
> hostname. Sadly, the new naming conventions no longer have that correlation.
> We went from hostnames being JohnD to now DEN55466. Is there an MS
> command-line utility or perhaps a third party utility that would allow me to
> type in the username, press enter and then the hostname would be displayed?
>
> Thank you very much for your assistance.

Hi Shawn

Unless I've misunderstood you, the tool you describe doesn't really make
any sense because there's no meaningful connection between hostnames and
user accounts.

To get the hostname:

Start -> Run -> cmd -> hostname

Shawn McGowen
07-10-2005, 02:53 AM
Sorry I was misunderstood. Here's an example:

I get a phone call from a user saying that they're having a problem with
something on their system. Rather than having to visit the user or having
them obtain their own hostname I want to be able to use a command line tool
that would allow me to type in the users username then I press enter and the
hostname is provided to me. This is possible with GFI Languard but I
requires block of IP's to search through. Once I give it a block of IP's I
then have to go through each host it found to eventually find the hostname of
the machine that my user is using. Does that make sens? Let me know if you
have any other ideas.



"JS" wrote:

> Shawn McGowen wrote:
> > Hello:
> >
> > We have recently gone through a merger and a new hostname naming convention
> > has been implemented. Prior to the merger the user's username matched their
> > hostname. Sadly, the new naming conventions no longer have that correlation.
> > We went from hostnames being JohnD to now DEN55466. Is there an MS
> > command-line utility or perhaps a third party utility that would allow me to
> > type in the username, press enter and then the hostname would be displayed?
> >
> > Thank you very much for your assistance.
>
> Hi Shawn
>
> Unless I've misunderstood you, the tool you describe doesn't really make
> any sense because there's no meaningful connection between hostnames and
> user accounts.
>
> To get the hostname:
>
> Start -> Run -> cmd -> hostname
>


Username to Hostname Resolution