Disk Unique ID

Hi, 

 

Is there is any way i can get the disk unique ID as shown below with powershell & WMI

 

DISKPART> detail disk

 

XXXXXXXXX SCSI Disk Device

Disk ID: {XXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}

Type   : SATA

Parents
No Data
Reply
  • After doing a bit more research to this, i was able to find this information

    Signature property of WMI class Win32_DiskDrive shows correctly disk signature for MBR disks and same matches with Diskpart output as well.

    However for GPT disks this field is null. Is there any other new WMI class to represent GPT disks?

     

    Thanks.

Children
No Data