Did You Notice Invoke-WebRequest is Broken After the Holidays?

0
17
Asked By SunnySky88 On

I just got back from vacation and discovered that Invoke-WebRequest seems to be broken. Apparently, this started back in December. For context, Microsoft has updated it such that every script requires the -UseBasicParsing switch now, unlike before when it would run without it. Has anyone else had to go through their entire repository to adjust for this change?

5 Answers

Answered By NerdAlert99 On

I think this change was covered well before it happened. Unfortunately, I’m on mobile now and can’t find all the links. Check the posts from back then; they might help!

Answered By PowerShellPro On

You might want to consider upgrading to PowerShell 7.x. This issue is a good reason to do it since most of my pipelines run on the newer version without those hiccups!

CodeMaster98 -

Totally agree. Managing these changes could be tough without the update.

Answered By TechSavvy101 On

We were aware of this issue since Microsoft released the patch in early December. It’s not something we used often, so it didn’t hit us too hard, but definitely something to keep in mind.

Answered By CodeWizard42 On

Yeah, this was officially announced on December 9. If you want more info, I can share the support link for it.

Answered By ScriptMaster3000 On

There’s a script available that might help you out: [script link]. That should ease some of the workload!

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.