Reply to Message

View discussion in a popup

Replying to:
LucD
Leadership
Leadership

These are already 4 of the 5 properties

        $row.HostsConnected= [string]::Join('|',
          (Get-View ($_.ExtensionData.Host | Select -ExpandProperty Key) | %{$_.Name.Split('.')[0]}))         $row.VMsHosted= [string::Join('|',(Get-View $_.ExtensionData.VM | %{$_.Name}))         $row.SIOC = $_.StorageIOCOntrolEnabled
       
$row.PartofStorageCluster = $_.ParentFolderId -match "StoragePod"

I'm not completely sure what you mean with the LUNUUID (fast method) ?

Is the the CanonicalName for the LUN(s) that form the extents of the datastore ?


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference