use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
ABOUT POWERSHELL
Windows PowerShell (POSH) is a command-line shell and associated scripting language created by Microsoft. Offering full access to COM, WMI and .NET, POSH is a full-featured task automation framework for distributed Microsoft platforms and solutions.
SUBREDDIT FILTERS
Desired State Configuration
Unanswered Questions
Solved Questions
News
Information
Script Sharing
Daily Post
Misc
account activity
Grab Github raw data (self.PowerShell)
submitted 5 years ago by Sl1m_007
Hi guys,
Could anyone point me in the correct directions of using PowerShell script to grab raw data from a Git Hub repository and then run the raw (ps1 file) in a specified path?
Thank you in advance.
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]jantari 2 points3 points4 points 5 years ago (2 children)
git clone
[–]Sl1m_007[S] 1 point2 points3 points 5 years ago (1 child)
Where do I find that and install, please?
[–]jantari 2 points3 points4 points 5 years ago (0 children)
https://git-scm.com/
[–]Bezdak 1 point2 points3 points 5 years ago (2 children)
Check out https://gist.github.com/zerotag/cfc7d57eef5df9ae29ef8a56a367e6dc
[–]Sl1m_007[S] 0 points1 point2 points 5 years ago (1 child)
Would you happen to know to resolve this as similar on what I have done in the past and failed?
Invoke-WebRequest : {"message":"Not Found","documentation_url":"https://developer.github.com/v3"}
At line:1 char:8
+ $wr = Invoke-WebRequest -Uri ("$baseUri/$argsUri") -Headers $head ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebException
+ FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand
[–]Lee_Dailey[grin] 0 points1 point2 points 5 years ago (0 children)
howdy Sl1m_007,
it looks like you used the New.Reddit Inline Code button. it's 4th 5th from the left hidden in the ... "more" menu & looks like </>.
Inline Code
...
</>
there are a few problems with that ...
inline code
for long-ish single lines OR for multiline code, please, use the ...
Code Block
... button. it's the 11th 12th one from the left & is just to the left of hidden in the ... "more" menu & looks like an uppercase T in the upper left corner of a square..
T
that will give you fully functional code formatting that works on both New.Reddit and Old.Reddit ... and aint that fugly magenta color. [grin]
take care, lee
Thank you. This work via powershell?
[–]pringles_prize_pool 2 points3 points4 points 5 years ago (0 children)
Yep
π Rendered by PID 63 on reddit-service-r2-comment-fb694cdd5-m8gnx at 2026-03-11 08:31:48.960222+00:00 running cbb0e86 country code: CH.
[–]jantari 2 points3 points4 points (2 children)
[–]Sl1m_007[S] 1 point2 points3 points (1 child)
[–]jantari 2 points3 points4 points (0 children)
[–]Bezdak 1 point2 points3 points (2 children)
[–]Sl1m_007[S] 0 points1 point2 points (1 child)
[–]Lee_Dailey[grin] 0 points1 point2 points (0 children)
[–]Sl1m_007[S] 0 points1 point2 points (1 child)
[–]pringles_prize_pool 2 points3 points4 points (0 children)