Closed zeilemaker54 closed 2 months ago
I can confirm this issue in my environment. No errors when executing in Powershell v7.2.8 but receive the same errors using Powershell v5.1.19041.2364
Experiencing the same issue with Windows Powershell 5.1. I think another approach is to make the SkipCertificateCheck a switch parameter to opt into rather than it being hard coded. In my environment all the clusters have CA signed certs so I don't want to necessarily ignore the certificate checks when using PS Core either.
Code for a fix for this has been merged.
Current Behavior:
Connect-Rubrik -Server '<some server>' -Id '<rubrik serviceaccount>' -Secret '<rubrik secret>'
fails on Windows Powershell 5.1, using Rubrik Powershell module 6.0.1Expected Behavior:
Should work on Windows Powershell 5.1
Steps to Reproduce:
Please provide detailed steps for reproducing the issue.
Open a Windows Powershell 5.1 session Invoke the command as specified in 'Current Behavior'
Context:
na
Failure Logs
na
Sugested change Modify Connect-Rubrik.ps1 to make it Windows Powershell 5.1 compatible:
Replace
By