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

Doctor Scripto

Summary: Doctor Scripto quickly shows 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


This article was originally published by Microsoft's Scripting Guy Blog. You can find the original article here.