VMware Cloud Community
bowulf
Enthusiast
Enthusiast

Determine Disk.UuidEnabled status?

I am trying to write a script to determine disk.uuidenable current status?  I am apparently missing a piece of knowledge on how to gather the config information using the get-view command on these configuration.  Thanks!

Reply
0 Kudos
1 Reply
LucD
Leadership
Leadership

Did you already check out this thread Update disk.EnableUUID, script not working ?

It shows which Key to use.

To list the current settings you can do

Get-VM | Select Name,@{N="EnableUUID";E={($_.Extensiondata.Config.ExtraConfig | where {$_.Key -eq "disk.EnableUUID"}).Value}}


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

Reply
0 Kudos