Solved

New-PSSession command error in Windows 2003 Server

Posted on 2016-08-06
4
39 Views
Last Modified: 2016-08-08
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
0
Comment
Question by:cbinayak
  • 2
4 Comments
 
LVL 44

Accepted Solution

by:
Jackie Man earned 500 total points
ID: 41745476
What is the response of the command below?

winrm qc
0
 

Author Comment

by:cbinayak
ID: 41745488
I am getting following output with "winrm qc" command.
winrm qc output
0
 
LVL 16

Expert Comment

by:cantoris
ID: 41746150
It's probably easiest to just (re-)run
Enable-PSRemoting
directly on the remote machine.
0
 

Author Comment

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

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A quick Powershell script I wrote to find old program installations and check versions of a specific file across the network.
Recently, Microsoft released a best-practice guide for securing Active Directory. It's a whopping 300+ pages long. Those of us tasked with securing our company’s databases and systems would, ideally, have time to devote to learning the ins and outs…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question