Search Posts

Tag: enter-pssession

Howto: Shutdown remote computer with powershell

Today I was to lazy to walk to my pc and turn it off. I had my laptop next to me and normally I use remote desktop to connect to the pc and open a command line and shutdown /s Today I thought to use powershell. I need to use it more any way.. To setup a connection and put in commands on the remote pc. Use the following command Enter-PSSession -Computername <name of pc> […]