The script below lists all users that have open RDC sessions on a list of servers.I need it to just list any from a specific person. Could anyone help...
$servers = get-content “C:\scripts\servers.txt”
foreach ($server in $servers)
$command = “quser /server:” + $server
That's pretty simple. Add this line above the quser line:
"----- $computer -----"
Is there any way to add a Log Off command to this script?
Powered by IDERA