I want to get al the clients (IP addresses + pcname) connected to a specific server remotely.
Situation sketch
I have 40 servers and 1000 clients on the same netwerk.
192.168.1.99 = server 1
192.168.2.99 = server 2
etc.
Every server has clients
192.168.1.2 = client 2 on server 1
192.168.1.3 = client 3 on server 1
etc.
Me on my pc (PC1) on the same network want to ask server with IP: 192.168.30.99
(server 30 ) what clients are logged/connected
The server (192.168.30.99
) should send me a list with these IP addresses (of the clients) and their pc name.
Any idea anybody? I want to do this remotely.
- I have admin passwords to all the servers and clients.
- I have looked in WMI but no such luck
- I am using Windows Server 2012 on the servers.