Hey all, I'm trying to find a way to see who is logged on at remote workstations. The workstations are all Windows 7 SP1 and they're all on a local network. I've tried the following:
query session /server:<servername>
PSloggedon \\<servername>
Get-WmiObject Win32_ComputerSystem -ComputerName $<server> | Select-Object -ExpandProperty UserName
and none of them work -- I get various Permission Denied errors. I tried logging into my laptop using the Domain Admin account and running them but I still get the "Denied" errors. What utilities do the rest of you use to find out who is logged into a remote workstation?
Thanks,
Joe B
query session /server:<servername>
PSloggedon \\<servername>
Get-WmiObject Win32_ComputerSystem -ComputerName $<server> | Select-Object -ExpandProperty UserName
and none of them work -- I get various Permission Denied errors. I tried logging into my laptop using the Domain Admin account and running them but I still get the "Denied" errors. What utilities do the rest of you use to find out who is logged into a remote workstation?
Thanks,
Joe B