Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 236824

Re: How to extend/optimize this multi vc datastore inventory script

$
0
0

These are already 4 of the 5 properties

 

        $row.HostsConnected= [string]::Join('|',
          (Get-View ($_.ExtensionData.Host|Select-ExpandPropertyKey) |%{$_.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 ?


Viewing all articles
Browse latest Browse all 236824

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>