Re: Username -> Hostname/IP
What kind of NETWORK? You mean, like THE INTERNET?
Inside a network, Active Directory can find computer information.
Ping gives a MACHINE NAME (with -a option).
How are you getting the USER NAME?
Re: Username -> Hostname/IP
I am not aware of anyway to query a network and get the Home IP address of a machine based on a userID, unless of course that user is currently logged into your program via IP from the workstation in question, in which case the remote IP will be the users IP. Still the username has nothing to do with it.
Re: Username -> Hostname/IP
hey,
no. the machine is also connected to the internet, but i'm talking about a network which is managed by a DC server (active directory) and has a unique username (no 2 usernames). i can resovle (theoretically) the user name if the machines were windows xp with a "net send" command, but with the new "msg" command, it does not seem to find the user name.
Re: Username -> Hostname/IP
Quote:
Originally Posted by
DataMiser
I am not aware of anyway to query a network and get the Home IP address of a machine based on a userID, unless of course that user is currently logged into your program via IP from the workstation in question, in which case the remote IP will be the users IP. Still the username has nothing to do with it.
There are work-around like (in win XP) the net send command and then the netstat command to find open netbios but in that case it is able to send a message to the user with only a username and create a conversion into an IP address.
would love something like that but the new msg command in win7 can't seem to send the message with a username...
Re: Username -> Hostname/IP
Re: Username -> Hostname/IP
Excuse me for being ignorant, but how does PowerShell allows me to resolve it?