Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 8583

How to get what users are logged into a list of computers?

$
0
0

Hello everyone. I am pretty new to PS scripting, but this is an awesome tool! I have had alot of luck with gathering information from scripts that I have found and manipulated to perform the tasks that I need them to do. My issue currently is that I need a PS script that will allow me to see who is logged onto a list of remote workstation. I have the following script that will allow me to get all of the Domain Users information, but it would be great if I could add a line or just have a script that will give me all of the information for a list of computers.

 

Get-ADUser -Filter * -SearchBase "OU=OU,DC=domain,DC=com"

 

Help!

 

Thanks


Viewing all articles
Browse latest Browse all 8583

Trending Articles