Skip to main content

How to find Moref ID for VM and Datastore

Moref ID for VM and Datastores

powercli commands:

Connect-VIServer <VC/esxi server IP>

To find VM moref ID:

    Get-VM | Select Name,ID

To Find Moref ID for datastores:

Get-Datastore | ft -Property Name,ID -AutoSize

Comments