Data ONTAP® PowerShell Toolkit

Cmdlet: Enable-NaFcAdapter


NAME
Enable-NaFcAdapter

SYNOPSIS
Call the corresponding adapter driver enable function to bring the adapter o
nline.

SYNTAX
Enable-NaFcAdapter [-Adapter] <String> [-Controller <NaController>] [-Warnin
gAction <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>]


DESCRIPTION
Call the corresponding adapter driver enable function to bring the adapter o
nline. Under some circumstances an adapter can not be brought online. (e.g.
when that adapter is in the UNCONFIGURED state, or when there is no cable at
tached to the adapter port). When this happens, an appropriate error messag
es is returned.


PARAMETERS
-Adapter <String>
FC adapter name (e.g. 0a)

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

<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.Fc.FcConfigInfo


NOTES


Category: fc
API: fc-config-adapter-enable

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

C:\PS>Enable-NaFcAdapter 0d


Enable FC adapter 0d.


AdapterName : 0d
AdapterState : CONFIGURED
AdapterStatus : online
AdapterType : target
PendingFcType :



RELATED LINKS
Disable-NaFcAdapter
Enable-NaFcpAdapter
Get-NaFcAdapter







 Data ONTAP® PowerShell Toolkit