VMware PowerCli Script to Get a list of all Storage paths and their policy settings

Following Script to Get a list of all Storage paths and their policy settings ————————————- Connect-VIServer MYVISERVER $ESX = get-vmhost “MyESXHost.mydomain.com” | Get-View $Information = @() foreach($disk in $esx.Config.StorageDevice.ScsiLun){     $MyDetails = “” | Select-Object Name, Policy     foreach($lun in… Continue Reading

VMware PowerCli Script to get a list of all WWNs for all HBAs in specific ESX host

Following Script is to Get a list of all WWNs for all HBAs in ESX01.mydomain.com ————————————– Connect-VIServer MYVISERVER $ESXHost = get-vmhost “ESX01.mydomain.com” | Get-View $storageSystem = get-view $ESXHost.ConfigManager.StorageSystem $storageSystem.StorageDeviceInfo.HostBusAdapter | select Device, Model, PortWorldWideName, NodeWorldWideName