How do I use PowerShell background jobs which require windows authentication
- by Scott Weinstein
I'm trying to run some funtions in the background of a PoSh script. The job never completes, but works fine when called normall. I've narrowed the problem down to the following line:
This line works fine:
$ws = New-WebServiceProxy "http://host/Service?wsdl" -UseDefaultCredential
but this line blocks forever
start-job { New-WebServiceProxy…