Life saver if you have many nodes in a Hyper-V cluster :) 1 2 3 4 5 6 7 8 9 10 11 12 $SANSwitches = Get-Cluster | Get-ClusterNode | % { Get-VMSAN -ComputerName $_.Name } Foreach ($SANSwitch in $SANSwitches) { $Name = $SANSwitch.Name $HBADetails = $SANSwitch | Select -Expand HBAs $PortAddress = $HBADetails.PortAddress $ComputerName […]
↧