Here's my issue: I have 9 computers at my desk, mixed between POSIX and windows - I'm also an admin - so when someone pulls me up from my desk I have to lock all the open stations and then unlock them when I get back (typically one at a time as needed). I've managed to automate the screen locks on all the POSIX boxes with an ssh command and some bash scripts, but I can't figure out how to lock/unlock the windows workstations remotely (they are already logged in, though logging in remotely as a console session would be nice, I don't hold my hopes up for this).
Is this possible to do through PowerShell or any method short of me writing a c# program that runs constantly on the child machines listening for a command to lock/unlock? It is only for a single user account, the same user account is being used on the parent machine.
Any help would be greatly appreciated - thank you for reading :)