-
Notifications
You must be signed in to change notification settings - Fork 106
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-MsrcCvrfDocument : Cannot retrieve the dynamic parameters for the cmdlet. #9
Comments
I am experiencing the same issue in 1.6.6. Reproduction steps below, along w/ error analysis and information on my platform.
Error review;
FYI: Platform is Windows Server 2012 R2 (w/ "Update 1" and all other security-related patches applied).
NOTE: When I source Private\Get-CVRFID.PS1 and run it manually (done from the same PowerShell session that the test-block above was executed in), it works just fine;
|
To clarify, my organization is still unable to utilize the API. This is a concern, since the BulletinSearch.xlsx has not been updated since March (we use that resource to get the patch 'Title' names. See Issue #2 ) |
Issue still persists in 1.7.2 with PS 5.0.1 Get-MsrcCvrfDocument : Cannot retrieve the dynamic parameters for the cmdlet.
|
On Windows 7 with PowerShell 3 I get the following error:
Get-MsrcCvrfDocument "2016-Aug" -Verbose
Presumably that is because Invoke-RestMethod doesn't accept the "Accept" header.
Invoke-RestMethod -Uri 'https://api.msrc.microsoft.com/Updates?api-Version=2016-08-01' -Headers @{ 'Api-Key' = 'x' 'Accept' = 'application/json' }
Edit:
On Windows 2012 R2 with PowerShell 5.0 i get the same error for Get-MsrcCvrfDocument but Invoke-RestMethod is working. Please note that I'm behind a proxy and set the proxy configuration as $PSDefaultParameterValues (see #5 ). Might also be related to that.
The text was updated successfully, but these errors were encountered: