Link to home
Create AccountLog in
Avatar of cbinayak
cbinayakFlag for India

asked on

New-PSSession command error in Windows 2003 Server

I am getting following error when trying to run following PowerShell command in Windows 2003 server. The installed PowerShell version is 2.0. Also, I have checked that Windows Remote Management(WS-Management) service is running.

This command is running without any problem in Windows 2012 server.

Can you please guide me how to run this command in Windows 2003 server.

new-pssession -computername dc -credential MYDOMAIN\Administrator

Open in new window

User generated image
ASKER CERTIFIED SOLUTION
Avatar of Jackie Man
Jackie Man
Flag of Hong Kong image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of cbinayak

ASKER

I am getting following output with "winrm qc" command.
User generated image
It's probably easiest to just (re-)run
Enable-PSRemoting
directly on the remote machine.
Enable-PSRemoting is giving error. However, the problem got resolved by installing winrm listener on http.