PowerShell - Création utilisateur
Résolu
vic-tech
Messages postés
5
Date d'inscription
Statut
Membre
Dernière intervention
-
vic-tech Messages postés 5 Date d'inscription Statut Membre Dernière intervention -
vic-tech Messages postés 5 Date d'inscription Statut Membre Dernière intervention -
A voir également:
- Powershell password secure string
- Vu password - Télécharger - Confidentialité
- Comment se connecter a freewifi secure - Forum WiFi
- Code free wifi secure - Forum Téléphones & tablettes Android
- Freewifi secure sur pc ✓ - Forum Opérateurs & Réseaux mobiles
- Usb secure - Télécharger - Sécurité
Set-LocalUser -Name adminl –PasswordNeverExpires False
Add-LocalGroupMember -Group 'Administrateurs' -Member ('adminl') â€Verbose» du type «System.String» en type «
System.Security.SecureString».
Au caractère C:\Users\vlanchas\Desktop\Script Powershell\AdminUser.ps1:11 : 52
+ ... calUser -Name "adminl" -Description "Admin Local" -Password $PASSWORD
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument : (:) [ConvertTo-SecureString], ParameterBindingException
+ FullyQualifiedErrorId : CannotConvertArgumentNoMessage,Microsoft.PowerShell.Commands.ConvertToSecureStringCommand
peut etre penser à l'importer?
Comme tu as vu, j'ai commenter la ligne pour ne jamais expirer le pwd, chez moi j'ai beau chercher, je tombe aussi sur cette erreur, si je trouve je te ferai signe, mais pour le moment je n'ai que çà