Quantcast
Channel: Scripting Blog
Viewing all articles
Browse latest Browse all 2129

PowerTip: Identify Completed PowerShell Jobs with Data yet to be Received

$
0
0

Summary: Doctor Scripto quickly shows how to identify Completed Jobs in PowerShell which have yet to have the data Received

Hey Doctor Scripto, How can I identify jobs which already completed but I haven’t done a Receive-Job on to get the data?

You can do this with the Get-Job Cmdlet by targeting the -ChildJobState and -HasMoreData like the following example

Get-Job -ChildJobState Completed -HasMoreData:$True

PowerShell, Doctor Scripto, PowerTip, Sean Kearney

The post PowerTip: Identify Completed PowerShell Jobs with Data yet to be Received appeared first on Scripting Blog.


Viewing all articles
Browse latest Browse all 2129

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>