Question Start-Process : -Credential et -Wait
- Matthew BETTON
- Auteur du sujet
- Hors Ligne
- Membre platinium
-
Réduire
Plus d'informations
- Messages : 968
- Remerciements reçus 0
il y a 13 ans 10 mois #11756
par Matthew BETTON
Réponse de Matthew BETTON sur le sujet Re:Start-Process : -Credential et -Wait
Je viens de tester : idem
[code:1]Start-Process : Accès refusé
Au caractère Ligne:1 : 1
+ Start-Process notepad -Credential $credential -wait
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:«») [Start-Process], Win32Exceptio
n
+ FullyQualifiedErrorId : System.ComponentModel.Win32Exception,Microsoft.P
owerShell.Commands.StartProcessCommand[/code:1]
... et notepad s'exécute bien.
[code:1]Start-Process : Accès refusé
Au caractère Ligne:1 : 1
+ Start-Process notepad -Credential $credential -wait
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:«») [Start-Process], Win32Exceptio
n
+ FullyQualifiedErrorId : System.ComponentModel.Win32Exception,Microsoft.P
owerShell.Commands.StartProcessCommand[/code:1]
... et notepad s'exécute bien.
Connexion ou Créer un compte pour participer à la conversation.
Temps de génération de la page : 0.067 secondes
- Vous êtes ici :
-
Accueil
-
forum
-
PowerShell
-
Entraide pour les initiés
- Start-Process : -Credential et -Wait