r/PowerShell • • Dec 10 '25

Invoke-WebRequest powershell.exe changes

Am I understanding correctly that windows powershell 5.1.x will soon see a mandatory change to provide user confirmation for any script using iwr without -usebasicparsing?

https://www.bleepingcomputer.com/news/security/microsoft-windows-powershell-now-warns-when-running-invoke-webrequest-scripts/

55 Upvotes

29 comments sorted by

View all comments

Show parent comment

3

u/xs0apy Dec 11 '25

I hate to ask cause I am gonna look dumb, but what do you mean by raw Invoke-WebRequest.

If the article explains it then just ignore me lol

EDIT: nvm didn’t know not using UseBasicParsing is the equivalent of hitting the red light district without a condom.