Pages

Friday 20 July 2012

Connect to Remote Machine using Powershell



To connect to remote machine using PowerShell. WinRM (Windows Remote Management) service needs to be in started mode on the remote computer.


Then, run the following command on remote computer: WinRM quickconfig


Follow the steps displayed in command prompt to receive requests and remote management. Now the remote machine is ready to be accessed using powershell from any other computer.


Type following command in Powershell to access the remote machine:
-> Enter-PSSession ComputerName

No comments:

Post a Comment