Created
February 25, 2021 22:15
-
-
Save haydenmc/a75b0014d4d71a0a03c38f82c6c810ac to your computer and use it in GitHub Desktop.
PowerShell one-liner to generate a string of random letters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://devblogs.microsoft.com/scripting/generate-random-letters-with-powershell/ | |
-join ((65..90) + (97..122) | Get-Random -Count 64 | % {[char]$_}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment