PowerShell One-Liner: Updating VMware Tools on Multiple Windows Guests Asynchronously
This one-liner makes use of the pipeline to get VMs in a given datacenter and update their VMware Tools version to the most current supported by the ESXi host.
I was recently tasked to write an automation script in PowerShell to invoke methods on a REST API. In this case, the API redirected the web requests to a more specific URL with an HTTP/302 response. When attempting to use…