r/PowerShell • u/Some-Pen3203 • 19d 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/Icolan 13d ago
You don't need to use a download button. Powershell is text. You just copy the raw text into a file on your system and name it with a .ps1 extension and you have a powershell script.
There is also a download button that will let you download a zip of an entire GitHub project.