Skip to content
This repository has been archived by the owner on Nov 9, 2020. It is now read-only.

Question: Write some progress bar #161

Open
E-M opened this issue Apr 22, 2016 · 2 comments
Open

Question: Write some progress bar #161

E-M opened this issue Apr 22, 2016 · 2 comments

Comments

@E-M
Copy link

E-M commented Apr 22, 2016

Hi

I have PowerCLI script which does quite a few tasks so it takes quite a lot of time. Right now we get response and output only after all tasks are completed. This is not a good user experience, because they don't see any progress and sometimes they just kill task because they think "it is not working".

So my question is - is it possible to print some status output after each task not only after script ended? Perhaps print some progress bar? We are using only command line interface with curl.

@E-M
Copy link
Author

E-M commented Apr 22, 2016

Hi

Sorry, I guess I was not clear enough. We are running that script like this:

curl https://webcommander.local/webCmd.php?command=SomeLongCommand

I was thinking, is it possible to use writeCustomizedMsg function after every command and return it as http content.

I don't think PowerShell's write-progress will help here.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants