Today I went to run a script I wrote a while back. This is a non-form script but it uses the Write-Progress commands to display a progress bar.
Running this from PowerGUI displays the progress bar just as I would expect (the forms progress bar - not the console version). If I run the same script from PowerShell Studio, the progress bar never gets displayed (although the script is running as expected).
To test this further, I created a blank script in PowerShell studio and put in a few Write-Progress lines with a few seconds of sleep between each command and I still never saw the progress bar. Ideas?
ProgressBar not working?
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: 8479
- Last visit: Thu Mar 28, 2024 9:29 am
- Been upvoted: 37 times
ProgressBar not working?
Please send your test script (zipped) to support@sapien.comWe will look into it.
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
- dmorgan@kryptiq.com
- Posts: 6
- Last visit: Sat Jun 16, 2018 8:58 am