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/robp73uk Dec 10 '25
Sadly not, I just checked. It’s totally a breaking change, either a prompt if interactive OR fatal error if non-interactive mode.
Unbelievable!