Avatar of cbinayak
cbinayak
Flag 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

New-PSSession error in Windows 2003 server
PowershellWindows Server 2003Active Directory

Avatar of undefined
Last Comment
cbinayak

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Jackie Man

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
cbinayak

ASKER
I am getting following output with "winrm qc" command.
winrm qc output
cantoris

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

ASKER
Enable-PSRemoting is giving error. However, the problem got resolved by installing winrm listener on http.
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23