get-events.ps1 throws error at Invoke-WebRequest
What happened:
When running this in both PS 5.1 and PS 7.0.1, replacing with my Rubrik server, credentials, etc. I get the following: Invoke-WebRequest: C:\Users\username\Documents\PowerShell\Modules\Rubrik\5.0.1\Private\Invoke-RubrikWebRequest.ps1:18:19 Line | 18 | … $result = Invoke-WebRequest -UseBasicParsing -SkipCertificateCheck … | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | The server either does not recognize the request method, or it lacks the ability to fulfill the request.
What you expected to happen:
I was hoping to get a list of active events/jobs
How to reproduce it (as minimally and precisely as possible): Install Rubrik Module. Adjust parameters, and run the script from the repo Get error
Anything else we need to know?: I appreciate the work on this script. It looks like it will be really helpful.
@paschott
yes! I too get d same error as below screenshot for reference

any lead on how it can be resolved?
Same here
