我有一组正在运行的工作。
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 中变为“完成”时应该说已完成