How to Remote Shell (PS) a Workgroup Nanoserver

Scenario:

Nanoserver on hyper-v enviorment

Nanosever not joined into the domain ( WORKGROUP )

 

  1. First of all enable into your nanoserver al WINRM options

2017-11-22 11_16_19-NANO SRV on 2016CORE - Virtual Machine Connection2017-11-22 11_16_33-NANO SRV on 2016CORE - Virtual Machine Connection

2. Review your nanoserver firewall rules regarding WRM

2017-11-22 11_18_51-Edit Post ‹ Tech Blog — WordPress.com.png

3. ENSURE THAT NANOSERVER HAS A LOCAL IP CONFIGURED EITHER A DHCP RESERVATION

 

4. Let the magic happen:

Let the server trust !

2017-11-22 11_22_20-W2016r2DC1 on 2016CORE - Virtual Machine Connection.png

user new-pssesion-computername “ip” -credential “ip”\Administrator

Will prompt for password

2017-11-22 11_21_05-W2016r2DC1 on 2016CORE - Virtual Machine Connection.png

 

Now we will be able to open the remote session 🙂

2017-11-22 11_28_35-W2016r2DC1 on 2016CORE - Virtual Machine Connection.png

Get-Pssession will give you all the active session and its respective IDS

in order to connect just use enter-pssession -id ( id will be shown on get-pssession)

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s