As a server administrator, I have to manage a lot of servers which are running windows 7 and windows server system in company.
In servers, many users will login and use company, the password of every user will not change frequently.
So I want to know who is loging but without permission.
I want to get the hostname of every user and their ip and mac address, in that way, I can compare with the data of authorized user list to find out who is invalid user and contact them to apply valid access power.
For methods, I want to through program such as bat, vbs, powershell or other effective language to make it achive.
Hope to get your sincerely reply and warmly discussion, thank you!