Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
How to Unlock Remote Machine Using PowerShell?
Answer
Yes, it's possible provided your PowerShell execution policies are in place and Remoting enabled.
Solution
Invoke-Command -ComputerName 'RemoteMachine' -ScriptBlock { rundll32.exe user32.dll,LockWorkStation } |
Help
help Invoke-Command -Detailed help Invoke-Command -Examples Help about_Remote_Troubleshooting |
Enjoy PowerShell