Jobs Powershell
De Linuxmemo.
(Différences entre les versions)
(Page créée avec « Catégorie:PowerShell Start-Job -Name <nomdujob> -Scriptblock { <commande/script> } Invoke-Command -Computername <server> { <commande/script> } -ASjob Invoke-Command -... ») |
m (a déplacé Powershell jobs vers Jobs Powershell) |
Version actuelle en date du 21 février 2017 à 15:56
Start-Job -Name <nomdujob> -Scriptblock { <commande/script> } Invoke-Command -Computername <server> { <commande/script> } -ASjob Invoke-Command -Computername <server> { Start-Job -scriptblock { <commande/script> } } Get-Job
Stop-Job –Id <id> Stop-Job –Job <name> Stop-Job –State Terminated
Wait-Job –Id <id> Wait-Job –Job <name> -TimeOut
Remove-Job * Remove-Job –Name <name> Remove-Job –ID <id> Remote-Job –State Terminated