This script deploys a vSAN 6.0/6.5/6.7/& 6.7 P01 Witness Appliance. It will:
v2 changed the DNS lookup method and will now run on PowerCLI Core as well as PowerCLI Desktop v3 added support for the vSAN 6.7 P01 Witness Appliance and adds ping check to ensure the vSAN Witness is up before attempting to add it to vCenter.
Syntax is: Vsan-WitnessDeploy.ps1