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, ∼2864🔥, 0💬
Popular Posts:
Where does Mozilla FireFox 2 store download files? When you download files from Websites, Mozilla Fi...
What is the file extension .VOB (DVD-Video Object or Versioned Object Base)? .VOB is the file extens...
What are wbxtra_*.wbt Temporary Files on my Windows 7 computer? Can I remove them? wbxtra_*.wbt Temp...
What is YTBSDK.exe - Symantec YTB Status Server - Norton Internet Security? YTBSDK.exe is installed ...
Why I am getting the "Warning: Unresponsive Script" message box? How to avoid this message box? When...