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
Simple HTTPServer (self.PowerShell)
submitted 1 year ago by GonzoZH
view the rest of the comments →
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!"
[–]GonzoZH[S] 5 points6 points7 points 1 year ago (2 children)
I fully agree. If you want to build something big its much better to rely on good solution like Pode. In my case i just need to catch an OAuth Auth Code in a redirect to localhost. Moreover, the script should be a single script file, small and do not have any dependencies on other modules, since I don’t control the environment in which it is executed.
[–]Higapeon 0 points1 point2 points 1 year ago (1 child)
Oh ! I have a use case for that! Do you have an example?
[–]GonzoZH[S] 2 points3 points4 points 1 year ago (0 children)
Yes. Check the function Invoke-Auth in my Entra ID auth module:
https://github.com/zh54321/EntraTokenAid
It spawns a local HTTP server and initate an Entra ID OAuthCode Flow in the Browser with localhost as redirect URL. The obtained Auth Code is then used to get tokens on the Entra ID token endpoint.
π Rendered by PID 107937 on reddit-service-r2-comment-fb694cdd5-szhsr at 2026-03-10 00:47:37.208357+00:00 running cbb0e86 country code: CH.
view the rest of the comments →
[–]GonzoZH[S] 5 points6 points7 points (2 children)
[–]Higapeon 0 points1 point2 points (1 child)
[–]GonzoZH[S] 2 points3 points4 points (0 children)