Reply to Message

View discussion in a popup

Replying to:
zsoltesz
Enthusiast
Enthusiast

I think, the surest method to use esxcli with PowerCLI.

$cli=Get-VMHost <hostname>|Get-EsxCli

Write-Host $cli.hardware.platform.get().SerialNumber