Update vCenter-SSL.ps1
This commit is contained in:
@@ -78,6 +78,7 @@ try {
|
|||||||
Method = 'Post'
|
Method = 'Post'
|
||||||
Credential = $Credential
|
Credential = $Credential
|
||||||
SslProtocol = 'Tls12'
|
SslProtocol = 'Tls12'
|
||||||
|
SkipCertificateCheck = $true
|
||||||
ErrorAction = 'Stop'
|
ErrorAction = 'Stop'
|
||||||
}
|
}
|
||||||
$session = Invoke-RestMethod @loginParams
|
$session = Invoke-RestMethod @loginParams
|
||||||
|
|||||||
Reference in New Issue
Block a user