Page 1 of 1

Output window resets

Posted: Fri Jun 30, 2017 12:46 pm
by fr3288
PrimalScript 7.3.103
Powershell 5.0.10586.117
Quest AD Cmdlts 1.6.0
Windows 7 Pro 64 bit

When I run invoke-command against over 1,000 computers the results are displayed fine in the output window until it reaches about 800-900 lines aprox. After that, the output window clears and the remaining results begin to appear starting in line 1 again. I suspect the issue could be related to the ThrottleLimit. If I leave the ThrottleLimit to the default size it works most of the times. The problem is constant with larger number in the ThrottleLimit.

I have tried it in PowerShell SE and in the Powershell cmd window and it works. I have tried by importing the Active Directory module or by using Quest AD Cmdlts. Not sure when this began but I have noticed it before version 7.3.103.

Re: Output window resets

Posted: Fri Jun 30, 2017 2:23 pm
by Alexander Riedel
I am not sure what Throttlelimit you speak about. The size of the output window is limited to about 50K characters. At which point it would not reset though but just start shaving off lines at the top.

Re: Output window resets

Posted: Wed Jul 19, 2017 1:28 pm
by fr3288
I was expecting the output window to be limited by memory availability. Good to know that it has an established limit. If possible, it would be good to have that limit expanded in a future update to be able to capture more lines of output. Thanks for the clarification.

Re: Output window resets

Posted: Wed Jul 19, 2017 2:22 pm
by Alexander Riedel
Generally, if you have that much output, it would be best to write the output to a file and load that afterwards. It will also speed up your script I would assume. It will also make it easier to view and verify information.
I will look into what we can do to make this easier.