Hello,
I'm running a script on a host like :
Invoke-Command -ComputerName MYHOST -FilePath "\\myshare\script.ps1"
The script.ps1 should do stuff like :
Start-Process -Wait -FilePath "$powershellpath\$filename" -ArgumentList "/quiet /norestart"
But it seems that it doesn't wait and the parent process end the all operation.
Any Idea ?
THKS