New-PSSession command error in Windows 2003 Server

cbinayak
cbinayak used Ask the Experts™
on
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

New-PSSession error in Windows 2003 server
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
IT Manager
Top Expert 2010
Commented:
What is the response of the command below?

winrm qc

Author

Commented:
I am getting following output with "winrm qc" command.
winrm qc output

Commented:
It's probably easiest to just (re-)run
Enable-PSRemoting
directly on the remote machine.

Author

Commented:
Enable-PSRemoting is giving error. However, the problem got resolved by installing winrm listener on http.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial