2

I've scripted a Powershell code and it works perfectly.

But there is a lot a of DB connections or downloading elements from the DB.

That's why when i run my script, it takes a while before the GUI form appears.

Is there someone who knows how to make a progress bar that appears when i execute my script and stop it when the GUI form appears ?

Thank you for your help,

Regards.

1 Answer 1

1

you might want to check this.

http://blogs.technet.com/b/heyscriptingguy/archive/2011/01/29/add-a-progress-bar-to-your-powershell-script.aspx

Sign up to request clarification or add additional context in comments.

5 Comments

I don't run a service so i can not us this solution. My soft is a Powershell script that i've compiled with PowerGUI to an exe file. I run this exe file and then my Powershell application is loading but it just appears in task manager not in services.msc.
Oh.. I thought otherwise.. Let me check some more.
I've seen many posts to make a progress bar in Powershell but no one speaks about my problem ... Thank you for helping me !
Are you trying to write an interactive program or a service? No service should ever have a progress bar because there's no user interface.
Finally, i've didn't found how to run it and i've decided to code it in html/javascript.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.