How do I use PowerShell background jobs with default web credentials
- by Scott Weinstein
This line works fine:
$ws = New-WebServiceProxy "http://host/Service?wsdl" -UseDefaultCredential
but this line blocks forever
start-job { New-WebServiceProxy "same url" -UseDefaultCredential } `
| wait-job | Receive-Job
Why? How do get it to work?