Quantcast
Channel: Windows Server – Yusuf Ozturk
Viewing all articles
Browse latest Browse all 127

Getting Virtual SAN Switches and Port Details of Hyper-V Cluster Nodes

$
0
0
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 […]

Viewing all articles
Browse latest Browse all 127

Trending Articles