diff --git a/inc/certs.inc b/inc/certs.inc index 6306e883..da79b338 100755 --- a/inc/certs.inc +++ b/inc/certs.inc @@ -648,7 +648,7 @@ CHECK-CERTS(){ VCENTER-SSL(){ if [ "${NM_VC_HOSTNAME}" != "" ] && [ "${NM_VC_USER}" != "" ] && [ "${NM_VC_PASS}" != "" ] && [ "${NM_PDNS_APIKEY}" != "" ]; then - ${NM_FOLDER}/inc/vCenter-SSL.ps1 + pwsh ${NM_FOLDER}/inc/vCenter-SSL.ps1 fi }