PS C:\WINDOWS\system32> Set-ExecutionPolicy RemoteSigned
PS C:\WINDOWS\system32> Set-PowerCLIConfiguration -InvalidCertificateAction Ignore
PS C:\WINDOWS\system32> Connect-VIServer -Server servername
Get-VM -name vignesh-VM-1 | Get-AdvancedSetting -Name ‘disk.EnableUUID’
If that command returns no result or the value is false, you won’t see the disk serial number inside your OS.
To Enable to DISK UUID, Refer this blog disk-serial-number-is-not-set-for-windows-server-2016-on-vmware-vsphere/