Section courante

A propos

Section administrative du site

 Logiciel  Plateforme  Utilisation  Tutoriel  Aide 
Vue par liste complète
Vue par aperçu
Vue par catégorie
BBS
Compression de données
Editeur de texte
Installateur
Adam
Alpha
AmigaOS
Amstrad CPC
Apple II
Atari 400/800
Atari ST
CoCo 3
Commodore 64
Commodore 128
CP/M
DOS
Java
Linux
Macintosh
Mac OS X
MSX2
OS/2
Solaris
TRS-80
Windows
Windows 3
Référence des commandes
Utiliser des fichiers ZIP avec PowerShell
Activer l'exécution d'un script PowerShell
Préface
Notes légal
Dictionnaire
Recherche

Invoke-Command

Invoquer une commande
PowerShell

Syntaxe

Invoke-Command [-ScriptBlock] ScriptBlock [-NoNewScope] [-InputObject PSObject] [-ArgumentList Object[]] [CommonParameters]
Invoke-Command [[-Session] PSSession[]] [-ThrottleLimit Int32] [-AsJob] [-HideComputerName] [-JobName String] [-FilePath] String [-RemoteDebug] [-InputObject PSObject] [-ArgumentList Object[]] [CommonParameters]
Invoke-Command [[-Session] PSSession[]] [-ThrottleLimit Int32] [-AsJob] [-HideComputerName] [-JobName String] [-ScriptBlock] ScriptBlock [-RemoteDebug] [-InputObject PSObject] [-ArgumentList Object[]] [CommonParameters]
Invoke-Command [[-ComputerName] String[]] [-Credential PSCredential] [-Port Int32] [-UseSSL] [-ConfigurationName String] [-ApplicationName String] [-ThrottleLimit Int32] [-AsJob] [-InDisconnectedSession] [-SessionName String[]] [-HideComputerName] [-JobName String] [-FilePath] String [-SessionOption PSSessionOption] [-Authentication AuthenticationMechanism] [-EnableNetworkAccess] [-RemoteDebug] [-InputObject PSObject] [-ArgumentList Object[]] [CommonParameters]
Invoke-Command [[-ComputerName] String[]] [-Credential PSCredential] [-Port Int32] [-UseSSL] [-ConfigurationName String] [-ApplicationName String] [-ThrottleLimit Int32] [-AsJob] [-InDisconnectedSession] [-SessionName String[]] [-HideComputerName] [-JobName String] [-ScriptBlock] ScriptBlock [-SessionOption PSSessionOption] [-Authentication AuthenticationMechanism] [-EnableNetworkAccess] [-RemoteDebug] [-InputObject PSObject] [-ArgumentList Object[]] [-CertificateThumbprint String] [CommonParameters]
Invoke-Command [-Credential PSCredential] [-ConfigurationName String] [-ThrottleLimit Int32] [[-ConnectionUri] Uri[]] [-AsJob] [-InDisconnectedSession] [-HideComputerName] [-JobName String] [-ScriptBlock] ScriptBlock [-AllowRedirection] [-SessionOption PSSessionOption] [-Authentication AuthenticationMechanism] [-EnableNetworkAccess] [-RemoteDebug] [-InputObject PSObject] [-ArgumentList Object[]] [-CertificateThumbprint String] [CommonParameters]
Invoke-Command [-Credential PSCredential] [-ConfigurationName String] [-ThrottleLimit Int32] [[-ConnectionUri] Uri[]] [-AsJob] [-InDisconnectedSession] [-HideComputerName] [-JobName String] [-FilePath] String [-AllowRedirection] [-SessionOption PSSessionOption] [-Authentication AuthenticationMechanism] [-EnableNetworkAccess] [-RemoteDebug] [-InputObject PSObject] [-ArgumentList Object[]] [CommonParameters]
Invoke-Command -Credential PSCredential [-ConfigurationName String] [-ThrottleLimit Int32] [-AsJob] [-HideComputerName] [-ScriptBlock] ScriptBlock [-RemoteDebug] [-InputObject PSObject] [-ArgumentList Object[]] [-VMId] Guid[] [CommonParameters]
Invoke-Command -Credential PSCredential [-ConfigurationName String] [-ThrottleLimit Int32] [-AsJob] [-HideComputerName] [-ScriptBlock] ScriptBlock [-RemoteDebug] [-InputObject PSObject] [-ArgumentList Object[]] -VMName String[] [CommonParameters]
Invoke-Command -Credential PSCredential [-ConfigurationName String] [-ThrottleLimit Int32] [-AsJob] [-HideComputerName] [-FilePath] String [-RemoteDebug] [-InputObject PSObject] [-ArgumentList Object[]] [-VMId] Guid[] [CommonParameters]
Invoke-Command -Credential PSCredential [-ConfigurationName String] [-ThrottleLimit Int32] [-AsJob] [-HideComputerName] [-FilePath] String [-RemoteDebug] [-InputObject PSObject] [-ArgumentList Object[]] -VMName String[] [CommonParameters]
Invoke-Command [-Port Int32] [-AsJob] [-HideComputerName] [-JobName String] [-ScriptBlock] ScriptBlock -HostName String[] [-UserName String] [-KeyFilePath String] [-SSHTransport] [-RemoteDebug] [-InputObject PSObject] [-ArgumentList Object[]] [-Subsystem String] [CommonParameters]
Invoke-Command [-ConfigurationName String] [-ThrottleLimit Int32] [-AsJob] [-HideComputerName] [-JobName String] [-ScriptBlock] ScriptBlock [-RunAsAdministrator] [-RemoteDebug] [-InputObject PSObject] [-ArgumentList Object[]] -ContainerId String[] [CommonParameters]
Invoke-Command [-ConfigurationName String] [-ThrottleLimit Int32] [-AsJob] [-HideComputerName] [-JobName String] [-FilePath] String [-RunAsAdministrator] [-RemoteDebug] [-InputObject PSObject] [-ArgumentList Object[]] -ContainerId String[] [CommonParameters]
Invoke-Command [-AsJob] [-HideComputerName] [-JobName String] [-ScriptBlock] ScriptBlock -SSHConnection Hashtable[] [-RemoteDebug] [-InputObject PSObject] [-ArgumentList Object[]] [CommonParameters]
Invoke-Command [-AsJob] [-HideComputerName] -FilePath String -HostName String[] [-UserName String] [-KeyFilePath String] [-SSHTransport] [-RemoteDebug] [-InputObject PSObject] [-ArgumentList Object[]] [CommonParameters]
Invoke-Command [-AsJob] [-HideComputerName] -FilePath String -SSHConnection Hashtable[] [-RemoteDebug] [-InputObject PSObject] [-ArgumentList Object[]] [CommonParameters]

Description

Cette commande permet d'exécuter des commandes sur des ordinateurs locaux et à distances.



PARTAGER CETTE PAGE SUR
Dernière mise à jour : Jeudi, le 14 Janvier 2021