How do I use PowerShell background jobs with default web credentials
Posted
by Scott Weinstein
on Stack Overflow
See other posts from Stack Overflow
or by Scott Weinstein
Published on 2010-04-20T16:51:04Z
Indexed on
2010/04/20
16:53 UTC
Read the original article
Hit count: 286
powershell-v2.0
|remoting
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?
© Stack Overflow or respective owner