Progress bar with PowerCLI and vCenter

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 11 months and 4 weeks 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
bullitt773
Posts: 12
Last visit: Wed Mar 06, 2024 5:29 am

Progress bar with PowerCLI and vCenter

Post by bullitt773 »

I've been using the same script to deploy Virtual Machines in vCenter using PowerCLI for quite some time without issue. Recently, however, the script is not waiting for vCenter to complete a task before proceeding, which results in script errors.

So basically, the script is no longer 'aware' of the progress. I've tried both with and without the -Runsync switch.
User avatar
Alexander Riedel
Posts: 8479
Last visit: Thu Mar 28, 2024 9:29 am
Answers: 19
Been upvoted: 37 times

Re: Progress bar with PowerCLI and vCenter

Post by Alexander Riedel »

[Topic moved by moderator]
Alexander Riedel
SAPIEN Technologies, Inc.
jvierra
Posts: 15439
Last visit: Tue Nov 21, 2023 6:37 pm
Answers: 30
Has voted: 4 times
Been upvoted: 33 times

Re: Progress bar with PowerCLI and vCenter

Post by jvierra »

You really need to post this in a vCenter forum as it is specific to vCenter and PowerCli and not a pure PowerShell issue.
This topic is 11 months and 4 weeks 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