1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81
| -DisplayName : Le terme «-DisplayName» n'est pas reconnu comme nom d'applet de commande, fonction, fichier de script ou programme exécutable. Vérifiez l'orthographe du nom, ou si un chemin
d'accès existe, vérifiez que le chemin d'accès est correct et réessayez.
Au caractère C:\Users\Administrateur.STOR\Documents\TEST4.ps1:31 : 21
+ -DisplayName "$UtilisateurPrenom $UtilisateurNom"
+ ~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (-DisplayName:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
-GivenName : Le terme «-GivenName» n'est pas reconnu comme nom d'applet de commande, fonction, fichier de script ou programme exécutable. Vérifiez l'orthographe du nom, ou si un chemin d'accès
existe, vérifiez que le chemin d'accès est correct et réessayez.
Au caractère C:\Users\Administrateur.STOR\Documents\TEST4.ps1:32 : 21
+ -GivenName $UtilisateurPrenom
+ ~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (-GivenName:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
-Surname$UtilisateurNom : Le terme «-Surname$UtilisateurNom» n'est pas reconnu comme nom d'applet de commande, fonction, fichier de script ou programme exécutable. Vérifiez l'orthographe du nom,
ou si un chemin d'accès existe, vérifiez que le chemin d'accès est correct et réessayez.
Au caractère C:\Users\Administrateur.STOR\Documents\TEST4.ps1:33 : 21
+ -Surname$UtilisateurNom
+ ~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (-Surname$UtilisateurNom:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
-SamAccountName : Le terme «-SamAccountName» n'est pas reconnu comme nom d'applet de commande, fonction, fichier de script ou programme exécutable. Vérifiez l'orthographe du nom, ou si un chemin
d'accès existe, vérifiez que le chemin d'accès est correct et réessayez.
Au caractère C:\Users\Administrateur.STOR\Documents\TEST4.ps1:34 : 21
+ -SamAccountName $UtilisateurLogin
+ ~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (-SamAccountName:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
-UserPrincipalName : Le terme «-UserPrincipalName» n'est pas reconnu comme nom d'applet de commande, fonction, fichier de script ou programme exécutable. Vérifiez l'orthographe du nom, ou si un
chemin d'accès existe, vérifiez que le chemin d'accès est correct et réessayez.
Au caractère C:\Users\Administrateur.STOR\Documents\TEST4.ps1:35 : 21
+ -UserPrincipalName $UtilisateurLgin + "@" + ($bas ...
+ ~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (-UserPrincipalName:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
-EmailAddress : Le terme «-EmailAddress» n'est pas reconnu comme nom d'applet de commande, fonction, fichier de script ou programme exécutable. Vérifiez l'orthographe du nom, ou si un chemin
d'accès existe, vérifiez que le chemin d'accès est correct et réessayez.
Au caractère C:\Users\Administrateur.STOR\Documents\TEST4.ps1:36 : 21
+ -EmailAddress $UtilisateurEmail
+ ~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (-EmailAddress:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
-Title : Le terme «-Title» n'est pas reconnu comme nom d'applet de commande, fonction, fichier de script ou programme exécutable. Vérifiez l'orthographe du nom, ou si un chemin d'accès existe,
vérifiez que le chemin d'accès est correct et réessayez.
Au caractère C:\Users\Administrateur.STOR\Documents\TEST4.ps1:37 : 21
+ -Title $UtilisateurFonction
+ ~~~~~~
+ CategoryInfo : ObjectNotFound: (-Title:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
-AccountPassword : Le terme «-AccountPassword» n'est pas reconnu comme nom d'applet de commande, fonction, fichier de script ou programme exécutable. Vérifiez l'orthographe du nom, ou si un
chemin d'accès existe, vérifiez que le chemin d'accès est correct et réessayez.
Au caractère C:\Users\Administrateur.STOR\Documents\TEST4.ps1:39 : 21
+ -AccountPassword(ConvertTo-SecureString $motDePas ...
+ ~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (-AccountPassword:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
-ChangePasswordAtLogon : Le terme «-ChangePasswordAtLogon» n'est pas reconnu comme nom d'applet de commande, fonction, fichier de script ou programme exécutable. Vérifiez l'orthographe du nom, ou
si un chemin d'accès existe, vérifiez que le chemin d'accès est correct et réessayez.
Au caractère C:\Users\Administrateur.STOR\Documents\TEST4.ps1:40 : 21
+ -ChangePasswordAtLogon $true
+ ~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (-ChangePasswordAtLogon:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
-Enabled : Le terme «-Enabled» n'est pas reconnu comme nom d'applet de commande, fonction, fichier de script ou programme exécutable. Vérifiez l'orthographe du nom, ou si un chemin d'accès
existe, vérifiez que le chemin d'accès est correct et réessayez.
Au caractère C:\Users\Administrateur.STOR\Documents\TEST4.ps1:41 : 21
+ -Enabled $true
+ ~~~~~~~~
+ CategoryInfo : ObjectNotFound: (-Enabled:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException |
Partager