Forum Discussion
TECH-JEFF
May 04, 2020Copper Contributor
Get-WUHistory
Hi,
I have this project to get the list of Windows Updates whether from a server or workstation and so I used the cmdlet
Get-WUHistory
It does show the update, description, date/time it was installed. Now I know it would be easier to generate the results and save it in a notepad but my boss wanted me to send the results to our internal website, so I though of using
Invoke-WebRequest -Uri https://<domain>
but I'm getting a Bad Request (400)
Am I missing something?
Thanks
TECH-JEFF
2 Replies
Sort By
- Animesh JoshiBrass Contributorself speaking 400 is a 'Bad Request', the web-server can understand it or it is somehow badly formed/corrupted. Going by basic bottom-up elimination testing, can you successfully render it in a browser?
- zdenekzakCopper Contributor
Can be "UseDefaultCredentials" ?