Get WWN
Ir para navegação
Ir para pesquisar
Windows
node port
Get-WmiObject -class MSFC_FCAdapterHBAAttributes -namespace “root\WMI” | ForEach-Object {(($_.NodeWWN) | ForEach-Object {“{0:x}” -f $_}) -join “:”}
port
Get-InitiatorPort | Select-Object -Property PortAddress | Format-Table -AutoSize
Linux
find /sys -name port_name -exec cat {} \; | sed -e "s/^0x//g" | sed -r "s/../&:/g" | sed -e "s/$://g" | tr "a-z" "A-Z" | sed -e "s/:$//g"