Skip to content

Instantly share code, notes, and snippets.

@YakDriver
Created February 1, 2018 23:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save YakDriver/abbf8eea7d1a4d11ca1e1a2a6d49e74b to your computer and use it in GitHub Desktop.
Save YakDriver/abbf8eea7d1a4d11ca1e1a2a6d49e74b to your computer and use it in GitHub Desktop.
Powershell random string of characters
# 4-length string, upper & lower alpha
$RAND=-join ((65..90) + (97..122) | Get-Random -Count 4 | % {[char]$_})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment