This commit is contained in:
Sébastien QUEROL 2025-02-19 17:01:51 +01:00
commit ebf00f110f

View File

@ -34,7 +34,7 @@ function GenPass { #Genere un mdp aléatoire selon les parametres indiqués
U = [Char[]]'ABCDEFGHIJKLMNOPQRSTUVWXYZ' U = [Char[]]'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
L = [Char[]]'abcdefghijklmnopqrstuvwxyz' L = [Char[]]'abcdefghijklmnopqrstuvwxyz'
N = [Char[]]'0123456789' N = [Char[]]'0123456789'
S = [Char[]]'!"#$%&()*+,-.:;<=>?@[]^_`{}~' S = [Char[]]'!"#$%&()*+-.:<=>?@[]^_`{}~'
} }
$Upper = Get-Random -Count 5 -InputObject $TokenSet.U $Upper = Get-Random -Count 5 -InputObject $TokenSet.U