Get-WmiObject can be used to find who logged on a remote PC. Is there a way go find if a remote PC is locked or not? Thanks.
Technology Tips and News
Get-WmiObject can be used to find who logged on a remote PC. Is there a way go find if a remote PC is locked or not? Thanks.
You can use the below. Hope this helps.
https://gallery.technet.microsoft.com/scriptcenter/Get-Remote-Logon-Status-d8c2318a
You can use the below. Hope this helps.
https://gallery.technet.microsoft.com/scriptcenter/Get-Remote-Logon-Status-d8c2318a