VMware Cloud Community
denjoh44
Enthusiast
Enthusiast

powershell for change hardware v7 to v8

Hello,

i am in vc version 5

i would change the hardware v7 to v8 for vm(s).

can you give the good command powershell for change hardware v7 to hardware v8?

the vm must be started or stopped?

thank you for response

0 Kudos
1 Reply
RvdNieuwendijk
Leadership
Leadership

You can upgrade a vm $vm to hardware version 8 with:

Get-VM $vm | Get-View | ForEach-Object { $_.UpgradeVM("vmx-08") }

The vm has to be powered off.

Blog: https://rvdnieuwendijk.com/ | Twitter: @rvdnieuwendijk | Author of: https://www.packtpub.com/virtualization-and-cloud/learning-powercli-second-edition