Allow Wait-Process to wait for *any one* of multiple processes, as an opt-in alternative to waiting for *all* of them · Issue #16972 · PowerShell/ PowerShell · GitHub
![Forcing PowerShell to Wait for a Process to Complete | ITPro Today: IT News, How-Tos, Trends, Case Studies, Career Tips, More Forcing PowerShell to Wait for a Process to Complete | ITPro Today: IT News, How-Tos, Trends, Case Studies, Career Tips, More](https://www.itprotoday.com/sites/itprotoday.com/files/uploads/2013/06/outnull_0.jpg)
Forcing PowerShell to Wait for a Process to Complete | ITPro Today: IT News, How-Tos, Trends, Case Studies, Career Tips, More
![How to wait until all commands are executed and only then have a prompt to restart your PC in powershell script? - Stack Overflow How to wait until all commands are executed and only then have a prompt to restart your PC in powershell script? - Stack Overflow](https://i.stack.imgur.com/BvNhd.png)