Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP Cluster-mode documentation.

Cmdlet: Get-NaFcpPortName


NAME
Get-NaFcpPortName

SYNOPSIS
Get the list of valid Fibre Channel target port names on a filer's local ada
pters.

SYNTAX
Get-NaFcpPortName [-Controller <NaController>] [<CommonParameters>]


DESCRIPTION
Get the list of valid Fibre Channel target port names on a filer's local ada
pters. The filer needs to be in standby or single_image cfmode.


PARAMETERS
-Controller <NaController>
The Data ONTAP controller object, embodied by an NaController object. T
his parameter is returned by the Connect-NaController cmdlet. If not sp
ecified, the value in the global variable CurrentNaController is used.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".

INPUTS



OUTPUTS
NetApp.Ontapi.Filer.Fcp73.FcpPortNameInfo


NOTES


Category: fcp
API: fcp-port-name-list-info

-------------- Example 1 --------------

C:\PS>Get-NaFcpPortName | ? {$_.IsUsed -eq $true}


Get all of the WWPN's that are currently in use on the current controller.


FcpAdapter IsUsed PortName
---------- ------ --------
0c True 50:0a:09:81:97:09:3b:1
f
0d True 50:0a:09:83:97:09:3b:1
f



RELATED LINKS
Get-NaFcpPortNameAlias
Set-NaFcpPortName







 Data ONTAP® PowerShell Toolkit