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, ∼2657🔥, 0💬
Popular Posts:
How to download ActivePerl 5.8.8.820? If you are interested in using Perl on your Windows system, yo...
What is HelpHost.exe - Microsoft Help Center Hosting Server? HelpHost.exe is the executable binary f...
How to view services with the System Configuration tool "msconfig.exe" on Windows 7? System Configur...
How to download Mozilla FireFox 2? If you want to try Mozilla FireFox 2, you can follow this tutoria...
How to change the Bluetooth device name on your Windows XP system? If you want to change the Bluetoo...