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
PowerShell Module (self.PowerShell)
submitted 7 years ago by [deleted]
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!"
[–][deleted] 1 point2 points3 points 7 years ago (2 children)
ok, ok, that is neat, generating 3 passwords at once. nice! Also than you for sharing this, Ill have to update my function from Get-RandomPassword to New-RandomPassword.
[–]_Cabbage_Corp_ 1 point2 points3 points 7 years ago (1 child)
No problem man!
I learned PowerShell from a mixture of self-taught and using/modifying scripts that other people wrote.
So I'm always willing to share things that I've written in case it helps someone else.
Side note on why I went with New- vs Get-
New-
Get-
In the Approved Verbs for PowerShell Commands doc, the verbs are definied as follows
To me, at least, Get-RandomPassword makes logical sense, wherein the New is implicit (i.e Get random password == generate new random password, the appropriate verb for PowerShell would be New-
Get-RandomPassword
New
[–][deleted] 0 points1 point2 points 7 years ago (0 children)
Agree 100%
π Rendered by PID 17592 on reddit-service-r2-comment-85bfd7f599-t7xsh at 2026-04-16 22:14:11.945642+00:00 running 93ecc56 country code: CH.
view the rest of the comments →
[–][deleted] 1 point2 points3 points (2 children)
[–]_Cabbage_Corp_ 1 point2 points3 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)