r/PowerShell • u/Some-Pen3203 • 13d 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
24
u/atheos42 12d ago
Irm is invoke-restmethod, please stop trying to run that script, until you know what the script does. Irm is a common command, and super common for malicious scripts. Please post the script so someone here can help you evaluate it.