Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get-events.ps1 throws error at Invoke-WebRequest #150

Open
paschott opened this issue Jul 1, 2020 · 2 comments
Open

get-events.ps1 throws error at Invoke-WebRequest #150

paschott opened this issue Jul 1, 2020 · 2 comments

Comments

@paschott
Copy link

paschott commented Jul 1, 2020

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.

@KavyaKanya
Copy link

@paschott

yes! I too get d same error as below screenshot for reference

image

any lead on how it can be resolved?

@spensoft
Copy link

Same here
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants