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

Re: collect storage target info

$
0
0

Try something like this

 

foreach($esxinGet-VMHost){
 
foreach($lunin (Get-ScsiLun-VmHost$esx-LunTypedisk)){
   
Get-ScsiLunPath-ScsiLun$lun|
   
Select@{N="RuntimeName";E={$lun.RuntimeName}},
   
@{N="LUN";E={$lun.lunID}},
   
@{N="CanonicalName";E={$lun.CanonicalName}},
   
@{N="Target WWN";E={$_.SanId}}
  }
}

Viewing all articles
Browse latest Browse all 236824

Trending Articles



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