r/PowerShell • u/Some-Pen3203 • 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
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?