ProgressBar while waiting for module to import

Ask your PowerShell-related questions, including questions on cmdlet development!
Forum rules
Do not post any licensing information in this forum.

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 4 years and 11 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.
Locked
User avatar
mmilliard
Posts: 1
Last visit: Thu Feb 22, 2024 11:57 am

ProgressBar while waiting for module to import

Post by mmilliard »

Hey guys,

I'm trying to get a progressbar to display while waiting for VMware.PowerCLI to import. This module takes a bit of time to load up so I want my application to show a progressbar while waiting for the module to load. I've been trying to get this work but can't seem to get the logic down. I tried running the import module as a powershell job but haven't managed to get the progressbar to realize the module is loaded. Any suggestions?

Thanks,
jvierra
Posts: 15439
Last visit: Tue Nov 21, 2023 6:37 pm
Answers: 30
Has voted: 4 times
Been upvoted: 33 times

Re: ProgressBar while waiting for module to import

Post by jvierra »

Use the "Job Tracker" custom control set.
This topic is 4 years and 11 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.
Locked