How to retrieve virtual disk UUID from vCenter via Aria Operations
search cancel

How to retrieve virtual disk UUID from vCenter via Aria Operations

book

Article ID: 416932

calendar_today

Updated On:

Products

VCF Operations

Issue/Introduction

By default, the VM disk UUID property is not included in automated reports generated by Aria Operations.

This article provides steps to retrieve the 'virtual disk UUID' property.

Environment

Aria Operations 8.18.x

Resolution

The below PowerShell queries can be used to retrieve the 'virtual disk UUID':

  1. To fetch the VM disk UUID information from Aria Operations:
    Get-VM | Get-HardDisk | Select @{N="VMName";E={$.Parent.Name}}, Name, @{N="VMDK_UUID";E={$.ExtensionData.Backing.Uuid}}
  2. To create the corresponding report for the VM disk UUID:
    Get-VM | Get-HardDisk | Select @{N="VMName";E={$.Parent.Name}}, Name, @{N="VMDK_UUID";E={$.ExtensionData.Backing.Uuid}} | Export-Csv -Path "C:\Reports\VMDK_UUID_Report.csv" -NoTypeInformation