VMware Cloud Community
MadhusudanR
Contributor
Contributor

ESXi host upgrade via VUM cmdlets

Hi,

I wanted to upgrade my ESXi host from ESXi5.5 to ESXI6.0 through "Vsphere Update Manager" and I am trying to write a powershell script for it.

Can anyone please help me to create baseline with iso images that are imported to "ESXi Images" repository in VUM through cmdlet?

Any cmdlet examples will be of great help.

My workarounds:

1. I am able to create baseline with iso images and upgrade via GUI.

2. I am able to create a baseline for patch upgrade and I am successful in upgrading the patch using the below commands

PowerCLI C:\> $UpdatePatch = get-patch -Product "embeddedEsx 6.0.0"

PowerCLI C:\> $UpdBase = New-PatchBaseline -Name UpdBaseline -Description "ESXi6.0U2" -Static -IncludePatch $UpdatePatch -TargetType Host

Thanks,

Madhusudan R

0 Kudos
0 Replies