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
1
u/Some-Pen3203 21d ago
Sorry for not replying sooner! After so many "your post has been automatically deleted by reddit autofilters", I was under the impression that nothing had been posted an I just rage-quit on reddit.
the script is in github.com/iFryno/RemoveWindowsAI, it used to be a different name than iFryno, which was taken down exactly the day I found it and eventually moved (just my timing!). I already ran it... I may have never ran a script before and I may know nothing of... this stuff in general, but I did at least make sure that multiple people recommended it (got mentioned in a couple youtube videos and praised in comments, which is not conclusive proof it's safe, but the best I could do) and it wasn't some obscure link... It deleted everything I wanted deleted and my pc still works... I hope it's fine, right?