PowerShell Script: Use of While..Loop{} in powershell by showing how to open Nth instances of a chrome browser.
PowerShell Script: Use of While..Loop{} in powershell by showing how to open Nth instances of a chrome browser.
Hi Friends,
Hope, you are doing fine!
Today, we will see that how can we use while loop in PowerShell script. We will be open Nth number of instances of CHROME browser via PowerShell script.
Please see the below code:
$i=0; $limit=10; while($i -ne $limit){ Start-Process "chrome.exe" "http://www.microsoft.com"; $i++; }
View On WordPress











