Write-Progress display does not display the correct length

This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
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.
This topic is 1 year and 2 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Tochtermann
Posts: 3
Last visit: Fri Mar 17, 2023 12:56 am
Has voted: 1 time

Write-Progress display does not display the correct length

Post by Tochtermann »

In a compiled Powershell Script, the Process-Bar is (in the middle of the Space) at 50% of the length when it should display 70%.
I set the Percentage manually so I can be shure that it should be at 70%.
The File was compiled using the Settings "Microsoft Windows 64bit" and "SAPIEN PowerShell V5 Host (Windows Application)". I have tried some other settings but it did not work as I expect.
Attachments
CoopPrinterAdd.ps1
(15.86 KiB) Downloaded 95 times
User avatar
brittneyr
Site Admin
Posts: 1655
Last visit: Thu Mar 28, 2024 1:00 pm
Answers: 39
Been upvoted: 30 times

Re: Write-Progress display does not display the correct length

Post by brittneyr »

[Topic moved by moderator to PowerShell Studio forum]
Brittney
SAPIEN Technologies, Inc.
User avatar
brittneyr
Site Admin
Posts: 1655
Last visit: Thu Mar 28, 2024 1:00 pm
Answers: 39
Been upvoted: 30 times

Re: Write-Progress display does not display the correct length

Post by brittneyr »

We are looking into this and will get back to you soon.
Brittney
SAPIEN Technologies, Inc.
User avatar
brittneyr
Site Admin
Posts: 1655
Last visit: Thu Mar 28, 2024 1:00 pm
Answers: 39
Been upvoted: 30 times

Re: Write-Progress display does not display the correct length

Post by brittneyr »

I've been able to replicate this behavior and have informed the development team. When I have new information, I'll post here.
Brittney
SAPIEN Technologies, Inc.
User avatar
brittneyr
Site Admin
Posts: 1655
Last visit: Thu Mar 28, 2024 1:00 pm
Answers: 39
Been upvoted: 30 times

Re: Write-Progress display does not display the correct length

Post by brittneyr »

This issue was addressed in service build 5.8.208.
Please let me know if you are still experiencing this behavior.
Brittney
SAPIEN Technologies, Inc.
This topic is 1 year and 2 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.