I am not getting anywhere when using Start-Process / Start-Job cmdlets with -Credential $cred
I have a service account use in deployment (unattended
Hi this might be an example that might work for you let me know if it does.
$global:credentials = new-object -typename System.Management.Automation.PSCredential $job = Start-Job -ScriptBlock {Get-Service} -Credential $credentials Wait-Job $job Receive-Job $job