Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP 7-mode documentation.

Cmdlet: Get-NcFcAdapter


NAME
Get-NcFcAdapter

SYNOPSIS
Get a list of fc adapters.

SYNTAX
Get-NcFcAdapter [[-Node] <String[]>] [[-Adapter] <String[]>] [[-Type] <Strin
g[]>] [-Attributes <FcConfig>] [-Controller <NcController[]>] [<CommonParame
ters>]

Get-NcFcAdapter -Template [-Controller <NcController[]>] [<CommonParameters>
]

Get-NcFcAdapter -Query <FcConfig> [-Attributes <FcConfig>] [-Controller <NcC
ontroller[]>] [<CommonParameters>]


DESCRIPTION
Get a list of fc adapters.


PARAMETERS
-Node <String[]>
The name of the node containing the adapter. Data ONTAP wildcards are p
ermitted.

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

-Adapter <String[]>
The name of an FC adapter. Data ONTAP wildcards are permitted.

Required? false
Position? 2
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-Type <String[]>
The adapter type. Data ONTAP wildcards are permitted.

Required? false
Position? 3
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-Attributes <FcConfig>
For improved scalability in large clusters, provide an FcConfig object w
ith various fields set to indicate which fields to return on all objects
. Undesired fields should remain set to null. Use "Get-NcFcAdapter -Te
mplate" to get the initially empty FcConfig object. If not specified, a
ll data is returned for each object.

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

-Controller <NcController[]>
A Data ONTAP cluster-mode controller to receive this cmdlet, as embodied
by an NcController object. This parameter is returned by the Connect-N
cController cmdlet. If not specified, the value in the global variable
CurrentNcController is used. In the latter case, if CurrentNcController
contains a collection of NcController objects, this cmdlet is invoked o
n each controller in succession.

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

-Template
Specify to get an empty FcConfig object for use with advanced queries in
volving the Query attribute.

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

-Query <FcConfig>
For advanced queries, provide an FcConfig object with various fields set
to indicate which records to retrieve. Other fields should remain set
to null. Use "Get-NcFcAdapter -Template" to get the initially empty FcC
onfig object.

Required? true
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.C.Fc810.FcConfig


NOTES


Category: fc
API: fc-config-list-info
Family: cluster

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

C:\PS>Get-NcFcAdapter


Get all the fc adapters on the current cluster.


NodeName AdapterName AdapterType A
dapterState AdapterStatus
-------- ----------- ----------- -
----------- -------------
VxeRubble-01 0a target C
ONFIGURED online
VxeRubble-01 0b initiator C
ONFIGURED. offline
VxeRubble-01 0c initiator C
ONFIGURED. offline
VxeRubble-01 0d initiator C
ONFIGURED. offline
VxeRubble-02 0a target C
ONFIGURED online
VxeRubble-02 0b initiator C
ONFIGURED. offline
VxeRubble-02 0c initiator C
ONFIGURED. offline
VxeRubble-02 0d initiator C
ONFIGURED. offline


-------------- Example 2 --------------

C:\PS>$q = Get-NcFcAdapter -Template
$q.PendingFcType = "unconfigured"
Get-NcFcAdapter -Query $q


Get all of the fc adapters that have a pending type of "unconfigured".


NcController : 10.60.189.172
AdapterName : 0d
AdapterState : CONFIGURED.
AdapterStatus : offline
AdapterType : initiator
NodeName : VxeRubble-02
PendingFcType : unconfigured



RELATED LINKS
Enable-NcFcAdapter
Disable-NcFcAdapter
Set-NcFcAdapterType







 Data ONTAP® PowerShell Toolkit