Data ONTAP® PowerShell Toolkit

Switch to clustered Data ONTAP documentation.

Cmdlet: Clear-NaFcpPortNameAlias


NAME
Clear-NaFcpPortNameAlias

SYNOPSIS
Remove an alias for a World Wide Port Name of an initiator.

SYNTAX
Clear-NaFcpPortNameAlias [-PortName] <String> [-Controller <NaController>] [
<CommonParameters>]

Clear-NaFcpPortNameAlias -Alias <String> [-Controller <NaController>] [<Comm
onParameters>]


DESCRIPTION
Remove an alias for a World Wide Port Name of an initiator. Either the alia
s or the wwpn argument must be provided (but not both).


PARAMETERS
-PortName <String>
WWPN for which all aliases are to be removed.

Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false

-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

-Alias <String>
WWPN Alias to be removed.

Required? true
Position? named
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
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



NOTES


Category: fcp
API: fcp-wwpnalias-remove

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

C:\PS>Clear-NaFcpPortNameAlias 50:0a:09:81:97:09:3b:1f


Remove the alias from the specified WWPN.






RELATED LINKS
Set-NaFcpPortNameAlias
Get-NaFcpPortNameAlias







 Data ONTAP® PowerShell Toolkit