I need help from PowerShell Expert to achieve the requirement which I have.
We are using PowerShell Automation Script to upgrade Power BI Gateways and we have around 160 VMs. And the Process is performed sequentially meaning next machine cannot be upgraded until the first Gateway upgrade is completed.
And looking for enhancing the script to upgrade all the Gateway Machines Parallelly.
I did some high level research and came across background job cmdlets that adds the task/job in background. And Currently, I have 2 VMs that can be used for testing to see if we can achieve the requirement.
Appreciate if any lead on the same, and I only have high-level of knowledge on Powershell.
Thanks
I was trying to test with two Gateways to upgrade with March Version. So First Gateway should get executed and the other should be added in the background.
In PowerShell - we have background Job cmdlets like Start-Job & Receive-Job that Add Jobs in Background and Display the status of Jobs added.
Can any PowerShell Expert help me tackle this requirement.
Thanks