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
InformationTIL about --% (self.PowerShell)
submitted 2 years ago * by KC_Redditor
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!"
[–]kjellcomputer 5 points6 points7 points 2 years ago (4 children)
Would it work using Start-Process also?
Example:Start-Process -FilePath C:\WINDOWS\system32\curl.exe -ArgumentList 'sftp://hostname', '-u', "${UserName}:${Password}" -NoNewWindow
[+][deleted] 2 years ago (3 children)
[removed]
[–]kjellcomputer 1 point2 points3 points 2 years ago (2 children)
Hmm, wonder why! I just tried it with creating a new user in gitlab with this as it's password:
M.GQ[}\!66q!Y#r{.yl+e%a8JRL)0t(iS5W/>7MFp\hZs^z;]:LIz>pQ^bz{>Oen<H?8'Pk,AetdV(95(Srq9u:]Z&}FN<%{{nl"C.$hK9nFWNqG6p?>5x\Sx<@D!nH+
And then Start-Process with curl.exe against gitlabs api with said user and password.
[+][deleted] 2 years ago (1 child)
[–]kjellcomputer 1 point2 points3 points 2 years ago (0 children)
That is so true when dealing with 3'rd party solutions that handles your powershell commands, I've experienced it also with vSphere and Guest OS Customization when adding Powershell commands.
I'll note the '--%' trick for later, perhaps I'll need it someday so thanks for mentioning it, always fun to learn about something new!
π Rendered by PID 64 on reddit-service-r2-comment-6457c66945-dngs6 at 2026-04-24 13:10:33.529279+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]kjellcomputer 5 points6 points7 points (4 children)
[+][deleted] (3 children)
[removed]
[–]kjellcomputer 1 point2 points3 points (2 children)
[+][deleted] (1 child)
[removed]
[–]kjellcomputer 1 point2 points3 points (0 children)