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

 

Advertisements

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.