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
1
u/kagato87 Dec 11 '25
From what I can gather, the idea is invoke-webrequest processes the page, which could cause malicious code in the remote website to run?