Enable Powershell remoting and connect

I’ve had to search around a bit to find all the commands to enable remotely connecting to Server 2012 using powershell.

#To enable remote connections on the server:

Enable-PSremoting

#To connect remotely from your workstation

Enter-PSSession -computername Server_Name -Credential administrator

Remember you have to use the server name and not the IP address otherwise it will deny you access.

 

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *