I would like to be able to audit our domain and find all machines that a particular user is logged into. Does anyone have a way to do this with PowerShell?
PowerShell Script to Find All Machines a User is Logged On To
active-directorypowershell
Related Topic
- Windows – How to find the last user logged onto a computer in Active Directory
- Powershell – Check if User Password Input is Valid
- Powershell – How to find orphaned computer objects in Active Directory using PowerShell
- How to check what machines I’m logged into within a domain
- Powershell – How to generate a report of the last time each domain user logged in to a specific windows server 2008 vm
Best Answer
This is a script I use to generate an Excel sheet for every PC on a domain and who is currently logged on. Save it to a .ps1 file and run it after putting in the OU path to search. I copied most of this from somewhere off the net a long time ago.