r/PowerShell • u/Some-Pen3203 • 26d ago
Question scripts don't work
I get this error when running a script. I'm not tech savvy at all, and I couldn't find an answer anywhere. Please help. The error:
irm : 404: Not Found
At line:1 char:2
+ irm (imagine a link here, can't type it for reddit auto-filters) ...
+ CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebException
+ FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand
0
Upvotes
View all comments
Show parent comment
2
u/BlackV 21d ago edited 21d ago
No problem
that seems suspicious by its self
its deffo using
irmalso suspiciousSuspicious
there are a bunch more, but I stopped at 600 lines or so, before its starts changing copilot and AI keys, edge keys , etc
if you ran it already, and just got the 404 then its made no changes, if you ran it after it moved and walked through the changes, then its too late, did it work ?
maybe its a legitimate script, maybe not, but without understanding it, id be reluctant to run it
If really want a OS without ai/spyware windows probably shouldn't be your choice, linux should, but that'd also a learning curve