title: Windows session unlock by network
body: <p>I want to be able to unlock a windows (7 and greater) locked session by a network message send from my phone, when it's in close range of the pc.
  I was looking into a power shell script that can achieve this. The script should be executed when a message is received from the phone.
  This is a example that unlocks the machine when you are connected remotely to it:
      tscon $sessionid /dest:console
  I don't know if this is possible using a powershell command running from the suspended session.
  I also looked into pGina but that doesn't seem like a viable option.
  Can anyone lead me in the right direction to achieve this?</p>