Enable Powershell Sessions to Domain Joined server from Workgrouped Machine

To create Powershell sessions to domain joined machines from a service workstation that is workgrouped joined you need to perform the following actions on the workgrouped machine

1) Start the WS-Management Service

2) Open Command Prompt and enter the following command

winrm s winrm/config/client '@{TrustedHosts="server.domain.local"}'

Assuming the target server is remote management enabled this will allow you to create PS Sessions with the New-PSSession Cmdlet

To enable remote management on the target machine if required, enter the following powershell command

Enable-PSRemoting -Force

 

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