我有一組正在運行的作業。寫進度條直到獲取作業返回「正在運行」PowerShell
PS C:\vinith> Get-Job
Id Name PSJobTypeName State HasMoreData Location Command
-- ---- ------------- ----- ----------- -------- -------
2 scvmm2012-vin BackgroundJob Running True localhost Param...
4 scom2012sp1-vin BackgroundJob Running True localhost Param...
6 scorch2012-vin BackgroundJob Running True localhost Param...
8 scsm2012sp1-vin BackgroundJob Running True localhost Param...
10 spfoundation BackgroundJob Running True localhost Param...
我希望有一個進度條顯示,直到作業正在運行,當作業狀態變爲在PowerShell中
[這裏有一個類似的問題(http://stackoverflow.com/questions/ 4317438 /監視作業中的powershell會話從另一個powershell會話) –