Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP 7-mode documentation.

Cmdlet: Get-NcNetPortIfgrp


NAME
Get-NcNetPortIfgrp

SYNOPSIS
Get interface group (ifgrp) objects.

SYNTAX
Get-NcNetPortIfgrp [[-Name] <String[]>] [-Node <String[]>] [-Attributes <Net
IfgrpInfo>] [-Controller <NcController[]>] [<CommonParameters>]

Get-NcNetPortIfgrp -Template [-Controller <NcController[]>] [<CommonParamete
rs>]


DESCRIPTION
Get interface group (ifgrp) objects.


PARAMETERS
-Name <String[]>
The name of one or more ifgrps to get. Data ONTAP wildcards are permitt
ed.

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

-Node <String[]>
Restrict results to the specified nodes(s). Data ONTAP wildcards are pe
rmitted.

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

-Attributes <NetIfgrpInfo>
For improved scalability in large clusters, provide a NetIfgrpInfo objec
t with various fields set to indicate which fields to return on all obje
cts. Undesired fields should remain set to null. Use "Get-NcNetPortIfg
rp -Template" to get the initially empty NetIfgrpInfo object. If not sp
ecified, all data is returned for each object.

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

-Controller <NcController[]>
A clustered Data ONTAP controller to receive this cmdlet, as embodied by
an NcController object. This parameter is returned by the Connect-NcCo
ntroller cmdlet. If not specified, the value in the global variable Cur
rentNcController is used. In the latter case, if CurrentNcController co
ntains a collection of NcController objects, this cmdlet is invoked on e
ach 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 NetIfgrpInfo object for use with advanced querie
s involving the Attributes parameter.

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
DataONTAP.C.Types.Net.NetIfgrpInfo


NOTES


Category: net
API: net-port-get-iter, net-port-ifgrp-get
Family: cluster

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

C:\PS>Get-NcNetPortIfgrp -Node fas3070cluster01-02


List the ifgroups from a single node.


NcController : 10.61.172.155
DistributionFunction : port
DownPorts :
IfgrpName : i0a
MacAddress : 02:a0:98:0a:d4:7f
Mode : singlemode
Node : fas3070cluster01-02
PortParticipation : none
Ports :
UpPorts :



RELATED LINKS
New-NcNetPortIfgrp







 Data ONTAP® PowerShell Toolkit