Misc text added
This commit is contained in:
parent
1ea4f9e09c
commit
5de0e4613d
@ -86,7 +86,7 @@ ForEach($user in $userList){
|
||||
"Tech-N3"{$Groups = @($grpDomainAdm)}
|
||||
Default {}
|
||||
}
|
||||
|
||||
|
||||
$newCsvLine = @([PSCustomObject]@{Username = $user; Password = $userPass}
|
||||
$newCsvLine | Export-CSV "C:\techLogins-$pcName.csv" -Append -NoTypeInformation -Encoding UTF8
|
||||
|
||||
@ -97,4 +97,6 @@ ForEach($user in $userList){
|
||||
}
|
||||
|
||||
Write-Color -Text "L'utilisateur ",$User," a bien été cée et ajouté aux groupes 'Account operators' et 'Print Operators'. Son mot de passe est ",$userPass -Color White,Green,White,Cyan
|
||||
}
|
||||
}
|
||||
|
||||
Write-Color -Text "Les utilisateurs ainsi que leur mots de passes ont été exportés ici : ","C:\techLogins-$pcName.csv" -Color White,Green
|
Loading…
Reference in New Issue
Block a user