r/PowerShell • u/nkasco • 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?
55
Upvotes
View all comments
Show parent comment
2
u/CharcoalGreyWolf Dec 10 '25
Did this come with the December cumulative updates?
I do most of our automation and our patching, so I patch 0-day on my own system. Using Invoke-WebRequest -Uri “<url>” -OutFile still works on my system in an admin Powershell window, whether or not I use -UseBasicParsing .
I’ll be auditing all of our scripts Thursday and Friday I’m sure, but it’s odd that it’s still working for me (the majority of our command-use for this is to download files hosted from Sharepoint Online).