Can someone help me with powershell script to check a genric admin id has logon access on which all machines.
I just need to give input a generic admin id(eg admin\abcd) and it returns all the workstations/servers/machines on which it has access.
This feature we can check from MMC snap-in and searching that id and going to properties-->log on. This gives all the machines.
But I am looking for some alternative to check directly from my powershell console and later I can add the script to my tool.