Skip to content

Instantly share code, notes, and snippets.

View orchee's full-sized avatar

Grzesiek Koncewicz orchee

  • Kraków, Poland
View GitHub Profile
function Get-RandomLetter {
return (97..122) | Get-Random | % {[char]$_};
}
function New-RandomAzureKeyVaultName {
$vault = Get-RandomLetter;
while($vault.Length -lt 24){
if(Get-Random -InputObject @($true,$false)){
$vault += Get-RandomLetter;
} else{