During my testing, I ran into some issues with getting the job output, but settled on this in one of my apps. I don’t remember if the issue was with trying to get the output with the -Job parameter, but I know that it works with the -JobId parameter: Get-PSUJobOutput -Integrated -JobId $EventData.Id
Also, if you haven’t done so, I would also recommend that you verify that the your job produced output by sticking it in a toast or modal first.
hi
here is my code im using it successfully for a long time and its best that i was able to develop
it displays code output in Modal so i dont know if it suit your needs, but this way its fast and clean
if you want to display it in static element in dashboard , probelamy you have to make it dynamic and sync it using sync-udelement