Update 'Invoke-ZertoRestRequest' with logic to detect powershell version and if running a version less than 6, check for a certificate bypass policy, if needed implement the certificate bypass policy, and then submit the request only with parameters available in version 5.1
Update 'Invoke-ZertoRestRequest' with logic to detect powershell version and if running a version less than 6, check for a certificate bypass policy, if needed implement the certificate bypass policy, and then submit the request only with parameters available in version 5.1