Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP Cluster-mode documentation.

Cmdlet: Get-NaPortset


NAME
Get-NaPortset

SYNOPSIS
Get information for port set(s).

SYNTAX
Get-NaPortset [[-Names] <String[]>] [-Controller <NaController>] [<CommonPar
ameters>]


DESCRIPTION
Get information for port set(s).


PARAMETERS
-Names <String[]>
Name(s) of port set(s). If specified, only information for that set is
returned. If not specified, information for all port sets are returned.
Wildcards are supported.

Required? false
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

<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.Portset.PortsetInfo


NOTES


Category: portset
API: portset-list-info

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

C:\PS>Get-NaPortset


List the port sets defined on this controller.


PortsetName : portset1
PortsetPortInfo : {dunn:0c, benson:0c}
PortsetPortTotal : 2
PortsetType : fcp
InitiatorGroupInfo : {fcpIgroup}



RELATED LINKS
New-NaPortset
Remove-NaPortset
Add-NaIgroupPortset







 Data ONTAP® PowerShell Toolkit