In certain scenarios, such as when a hashtable is written to the pipeline or the only output is a write-verbose a null information message record is output.
Multiple null records are returned around the hashtable, reflecting how console output would format it.
To Reproduce
Replace the Write-Host call in the provided getting started example with a hashtable literal
Run Get-UAJobOutput to retrieve the result
Expected behavior
Do not return null outputs or at least do not return multiple consecutive null outputs.
Describe the Issue
In certain scenarios, such as when a hashtable is written to the pipeline or the only output is a write-verbose a null information message record is output.
Multiple null records are returned around the hashtable, reflecting how console output would format it.
To Reproduce
Write-Host
call in the provided getting started example with a hashtable literalGet-UAJobOutput
to retrieve the resultExpected behavior
Do not return null outputs or at least do not return multiple consecutive null outputs.
Screenshots
Script Sample
Version Information