Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > PowerShell

Vista - PSJob+WinRM=Connection attempt failed.

Reply
 
Old 03-11-2008   #1 (permalink)
ajax76


 
 

PSJob+WinRM=Connection attempt failed.

Please help me to deside, where is error:

PS C:\> $job=Start-PSJob -command 'ls -rec c:\'

PS C:\> $job.JobStateInfo.state
Failed

PS C:\> $job.ChildJobs[0].JobStateInfo.Reason
Connection attempt failed.

PS C:\> Get-ExecutionPolicy
Unrestricted

PS C:\> (Get-Service -name 'winrm').status
Running

PS C:\> winrm id
IdentifyResponse
ProtocolVersion = http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd
ProductVendor = Microsoft Corporation
ProductVersion = OS: 5.1.2600 SP: 2.0 Stack: 1.1

PS C:\> netsh firewall show portopening

Port Protocol Mode Name
-------------------------------------------------------------------
80 TCP Enable HTTP
443 TCP Enable HTTPS

PS C:\> (winrm e wmi/root/cimv2/win32_operatingsystem)|
?{$_ -match '(caption|version)'}
Caption = Microsoft Windows XP Home Edition
CSDVersion = Service Pack 2
PlusVersionNumber = null
ServicePackMajorVersion = 2
ServicePackMinorVersion = 0
Version = 5.1.2600

PS C:\> $PSVersionTable

Name Value
---- -----
CLRVersion 2.0.50727.1433
BuildVersion 6.1.6480.1
PSVersion 2.0
PSCompatibleVersions {1.0, 2.0}

My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
A connection attempt failed... Gaming
PSJob+WinRM=Connection attempt failed. PowerShell
psjob - Connection attempt failed. / Server execution failed PowerShell
Logon Attempt Failed /w Remote Desktop Connection Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46