From 7df974133a96772604945db45483a40e10857877 Mon Sep 17 00:00:00 2001 From: ArescomML Date: Fri, 3 Jan 2025 14:10:03 +0100 Subject: [PATCH] Remove potential escape char from charset --- AD/CreateN1-N2Users/Create-ADtechs.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AD/CreateN1-N2Users/Create-ADtechs.ps1 b/AD/CreateN1-N2Users/Create-ADtechs.ps1 index f77e555..9148327 100644 --- a/AD/CreateN1-N2Users/Create-ADtechs.ps1 +++ b/AD/CreateN1-N2Users/Create-ADtechs.ps1 @@ -26,7 +26,7 @@ function GenPass { #Genere un mdp aléatoire selon les parametres indiqués U = [Char[]]'ABCDEFGHIJKLMNOPQRSTUVWXYZ' L = [Char[]]'abcdefghijklmnopqrstuvwxyz' N = [Char[]]'0123456789' - S = [Char[]]'!"#$%&''()*+,-./:;<=>?@[\]^_`{|}~' + S = [Char[]]'!"#$%&()*+,-.:;<=>?@[]^_`{}~' } $Upper = Get-Random -Count 5 -InputObject $TokenSet.U