Start-process

De wiki.nexiat.fr
Aller à la navigation Aller à la recherche
Fiche express
Cmdlet Start-Process
Rôle Lancer un processus
Voir aussi Get-credential

Start-Process lance un nouveau processus, éventuellement sous une autre identité.

Usage

Start-Process monApplication.exe -Credential (Get-Credential)
Start-Process monApplication.exe -Credential (Get-Credential -Credential Domaine\administrateur)

# Élévation / exécution sous un autre compte
Start-Process monApplication.exe -Verb RunAs

Voir aussi