PowerShell launches Windows applications asynchronously. It only waits for the console application so you should use -wait if you want to launch a Windows application and wait for it until it finishes:
Start-Process notepad -wait
Explore all the products and find the right solution for your business
Explore all the products and find the right solution for your business
Explore all the products and find the right solution for your business
by ps1Feb 25, 2010
PowerShell launches Windows applications asynchronously. It only waits for the console application so you should use -wait if you want to launch a Windows application and wait for it until it finishes: