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.
Output window resets
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
- Alexander Riedel
- Posts: 8488
- Last visit: Tue Apr 16, 2024 8:42 am
- Been upvoted: 37 times
Re: Output window resets
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.
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
Re: Output window resets
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.
- Alexander Riedel
- Posts: 8488
- Last visit: Tue Apr 16, 2024 8:42 am
- Been upvoted: 37 times
Re: Output window resets
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.
I will look into what we can do to make this easier.
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.