Skip to content

Instantly share code, notes, and snippets.

@haydenmc
Created February 25, 2021 22:15
Show Gist options
  • Save haydenmc/a75b0014d4d71a0a03c38f82c6c810ac to your computer and use it in GitHub Desktop.
Save haydenmc/a75b0014d4d71a0a03c38f82c6c810ac to your computer and use it in GitHub Desktop.
PowerShell one-liner to generate a string of random letters
# 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