Copper Contributor


I have this project to get the list of Windows Updates whether from a server or workstation and so I used the cmdlet




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?




2 Replies
self 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?

@Animesh Joshi Screenshot 2021-01-22 110920.png

Can be "UseDefaultCredentials" ?