Collections:
Other Resources:
"Get-Job" Cmdlet in Windows PowerShell
How to use "Get-Job" cmdlet in Windows PowerShell?
✍: FYIcenter.com
You can use the "Get-Job" cmdlet to display existing Windows PowerShell background job on the local computer.
Below is an example of "Get-Job" cmdlet displaying background jobs:
PS C:\fyicenter> start-job {get-process}
Id Name PSJobTypeName State HasMoreData Command
-- ---- ------------- ----- ----------- -------
2 Job2 BackgroundJob Running True get-process
PS C:\fyicenter> start-job {$now = get-date}
Id Name PSJobTypeName State HasMoreData Command
-- ---- ------------- ----- ----------- -------
4 Job4 BackgroundJob Running True $now = get-date
PS C:\fyicenter> get-job
Id Name PSJobTypeName State HasMoreData Command
-- ---- ------------- ----- ----------- -------
2 Job2 BackgroundJob Completed True get-process
4 Job4 BackgroundJob Completed False $now = get-date
⇒ "Receive-Job" Cmdlet in Windows PowerShell
⇐ "Start-Job" Cmdlet in Windows PowerShell
2016-10-08, ∼3037🔥, 0💬
Popular Posts:
Can I disable Windows service "Performance Logs and Alerts" to speedup my computer? Windows service ...
What is WindowsLiveLogin.dll - DLL file - Windows Live Login module? DLL WindowsLiveLogin.dll is ins...
I have a field in a MS Access form that is a foreign key pointing to another table. Can I use a comb...
Understanding HelpSvc.exe, "Microsoft Help Center Service" - part of the "Help and Support Center" a...
Where are services hosted by "svchost.exe -k DcomLaunch" on Windows 7? What is the meaning of "-k Dc...