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

Re: Script to output WWN Datacenter Cluster Host

$
0
0

Since WWN can be retriever for HBA and/or LUN, you could do

foreach($dc in Get-Datacenter){

   foreach($cluster in Get-Cluster -Location $dc){

      foreach($esx in Get-VMHost -Location $cluster){

...

      }

   }

}

In the inner loop you could then get the HBA and/or LUN of the ESXi and extract the WWN.

 

Is that what you are looking for ?


Viewing all articles
Browse latest Browse all 206069

Trending Articles



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