Data ONTAP® PowerShell Toolkit

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>] [
-WarningAction <ActionPreference>] [-WarningVariable <String>] [<CommonParam
eters>]

Clear-NaFcpPortNameAlias -Alias <String> [-Controller <NaController>] [-Warn
ingAction <ActionPreference>] [-WarningVariable <String>] [<CommonParameters
>]


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 DataONTAP controller object, embodied by an NaController object. Th
is parameter is returned by the Connect-NaController cmdlet. If not spe
cified, the value in the global variable CurrentNaController is used.

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

-WarningAction <ActionPreference>


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

-WarningVariable <String>


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