VMware Cloud Community
esxinoob
Enthusiast
Enthusiast

PowerCLI BaselineGroups

Hey there

I'm trying to attach a base line group to specific VMs.

Instead of selecting every single VM in the GUI and attach the baseline, I though of doing it thru PowerCli.

However, I'm not able to get the baseline group. Does somebody know if there's a way to attach a baseline group??

Once I enter "Get-Baseline -Name *", I'll get an error "Process is terminated due to StackOverflowException."

Any ideas?


Thanks in advance

Tags (2)
6 Replies
Kaustubhambulka
Enthusiast
Enthusiast

Which power shell version you are using ? if it is v1 upgrade it to powershel V2.

0 Kudos
esxinoob
Enthusiast
Enthusiast

not sure about this.

There are even newer version on the market? v3,4 and so on?

0 Kudos
DanielOprea
Hot Shot
Hot Shot

Hi,

Please, look to this article: Now Available: PowerCLI cmdlets for vCenter Update Manager! | VMware PowerCLI Blog - VMware Blogs

What version is your VUM or VC ??

Regards

Daniel

PLEASE CONSIDER AWARDING any HELPFUL or CORRECT answer. Thanks!!
Por favor CONSIDERA PREMIAR cualquier respuesta ÚTIL o CORRECTA. ¡¡Muchas gracias!!
Blogs: https://danieloprea.blogspot.com/
esxinoob
Enthusiast
Enthusiast

VC/VUM 5.5.0 is installed.

PowerCLI 5.5 Release 2 Patch 1

Update Manager Powercli 5.5

still not workking

0 Kudos
DanielOprea
Hot Shot
Hot Shot

OK,

Look to this article, and use this script: Using VUM Powercli for VMTools and Hardware upgrades | NutzandBolts - An IT Systems Engineer Experie...

Regards

Daniel

PLEASE CONSIDER AWARDING any HELPFUL or CORRECT answer. Thanks!!
Por favor CONSIDERA PREMIAR cualquier respuesta ÚTIL o CORRECTA. ¡¡Muchas gracias!!
Blogs: https://danieloprea.blogspot.com/
BenLiebowitz
Expert
Expert

PowerCLI 5.0 did not support the use of Groups based on LucD's reply in the article below, but there is a posted workaround to create your own group using PowerCLI. 

Re: Update Manager cmdlets and "Baseline Groups"

Ben Liebowitz, VCP vExpert 2015, 2016, & 2017 If you found my post helpful, please mark it as helpful or answered to award points.
0 Kudos