Hi Rich,
Thanks for your time. But i am unable to get the results. LUN value is empty. This is an azure IAAS VM.
![271370-capture.jpg][2] [2]: /api/attachments/271370-capture.jpg?platform=QnA
Also i dont get results for $partition.Number..But $partition.PartitionNumber.But it seems to be wrong.
I am not sure how the disks are configured.
Get-Disk
Number Friendly Name Serial Number HealthStatus OperationalStatus Total Size Partition
Style
0 Msft Virtual Disk Healthy Online 120 GB GPT
2 Msft Virtual Disk Healthy Online 15 GB GPT
1 Msft Virtual Disk Healthy Online 300 GB GPT
Get-Partition
DiskPath: \?\scsi#disk&ven_msft&prod_virtual_disk#000000#{1234567890}
PartitionNumber DriveLetter Offset Size Type
1 1048576 450 MB Recovery
2 472907776 99 MB System
3 576716800 16 MB Reserved
4 C 593494016 119.45 GB Basic
DiskPath: \?\scsi#disk&ven_msft&prod_virtual_disk#000001
PartitionNumber DriveLetter Offset Size Type
1 17408 32 MB Reserved
2 Y 34603008 14.97 GB Basic
DiskPath: \?\scsi#disk&ven_msft&prod_virtual_disk#
PartitionNumber DriveLetter Offset Size Type
1 17408 128 MB Reserved
2 D 135266304 299.87 GB Basic