Powershell Get-Process get started process
使用-PassThru参数,Start-Process就会传回process
$proc = Start-Process ping -Args "1.1.1.1" -NoNewWindow -PassThru
使用-PassThru参数,Start-Process就会传回process
$proc = Start-Process ping -Args "1.1.1.1" -NoNewWindow -PassThru