VMware Cloud Community
Sislik
Contributor
Contributor

HP Blades Serial Numbers

Hi,

i have issue that i would like to get "physical serial numbers" and "real srv uuid" for blade servers behind HP VC Connect.

Issue is that on VC is set to use virtual serial numbers.

https://support.hpe.com/hpesc/public/docDisplay?docId=mmr_kc-0121080

So basic response of esx to vcenter is with virtual serial number and virtual uuid.

Is there a way how to list also the physical S/N and UUID of the ESX via vCenter PowerCLI?

Regards,

Martin

0 Kudos
3 Replies
LucD
Leadership
Leadership

Does the following also return the virtual one?

Get-VMHost -PipelineVariable esx |

ForEach-Object -Process {

    $esxcli=Get-EsxCli -VMHost $esx -V2

    $hw = $esxcli.hardware.platform.get.Invoke()

    New-Object -TypeName PSObject -Property @{

        VMHost = $esx.Name

        Serial = $hw.SerialNumber

        UUID = $hw.UUID

    }

}


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

0 Kudos
Sislik
Contributor
Contributor

Hey,

yep also just Virtual S/N and Virtual UUID.

I'm curious if this would be even possible Smiley Happy

0 Kudos
LucD
Leadership
Leadership

Wouldn't know in that case, and I don't have that HW to play around with


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

0 Kudos