r/PowerShell • • 21d 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

19 comments sorted by

View all comments

13

u/Th3Sh4d0wKn0ws 20d ago

this smells like a "clickfix" attack. Were you on a website that asked you to paste into powershell? Or hit Win+R and then Ctrl+V?

1

u/Some-Pen3203 16d ago

no, I actively searched for a script that would get rid of AI components that windows installed on my pc without my consent (I'm just a guy who is strongly anti-AI, but not really into IT, I just use pcs for work, games and youtube), it's in github.com/iFryno/RemoveWindowsAI. I explained the details in other replies.