2026.3.3 Get-PSUJobOutput -Limit parameter has no effect

A fix for this issue has been implemented in version 2026.3.5.0
Implemented

2026.3.3 Get-PSUJobOutput -Limit parameter has no effect

avatar

I use Get-PSUJobOutput to parse job output occasionally. I've noticed that the -Limit parameter doesn't seem to do anything. i.e. if the job output is 2000 lines only the first 1000 will be returned. If you specify -Limit 20 you still get 1000 lines.

All Comments (2)

avatar

Hi Shannon,

Thank you for the clear report. You are right, this is a bug in 2026.3.3. -Limit is ignored only when the job is named with -JobId.

On that path the cmdlet never sends the limit to the server, so the default of the first 1000 records applies whatever value you give. When the job is passed in as an object, -Limit is applied.

I reproduced it on 2026.3.3 with a job that writes 2000 lines. Get-PSUJobOutput -JobId returned 1000 lines with -Limit 20 and again with -Limit 5000. With the job piped in, the same two calls returned exactly 20 lines and all 2000.

For now, get the job first and pipe it in, replacing 123 with your job ID and adding the connection parameters you already use.

Get-PSUJob -Id 123 | Get-PSUJobOutput -Limit 5000

Set -Limit above the number of lines you expect, because without it this path also stops at 1000.

If you call Get-PSUJobOutput another way, or this still returns 1000 lines, please send me the exact command you run, with any app token or credential removed, and whether it runs inside a PSU job or from another machine.

Best regards,

Michel

Michel Audi

avatar

Hello,

Thank you for your patience while our team looked into the issue you reported.

I'm happy to let you know that the latest version of PowerShell Universal (2026.3.5) includes a fix for this problem. You can download it from our website here:
https://devolutions.net/download-center/#psu

Once you have installed the update, could you please test it in your environment and confirm that everything now works as expected? If the issue persists or if you notice anything unusual related to the same original problem, just reply to this message with a few details, and we will be glad to look into it further.

Thank you for your collaboration.

Best regards,

Érica Poirier

A fix for this issue has been implemented in version 2026.3.5.0