Home WindowsPowerShellWait for a Command to Finish in PowerShell Script