Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP Cluster-mode documentation.

Cmdlet: Add-NaPortsetPort


NAME
Add-NaPortsetPort

SYNOPSIS
Add a port to an existing port set

SYNTAX
Add-NaPortsetPort [-Name] <String> [-Port] <String> [-Controller <NaControll
er>] [-WhatIf] [-Confirm] [<CommonParameters>]


DESCRIPTION
Add a port to an existing port set


PARAMETERS
-Name <String>
Name of port set.

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

-Port <String>
This is the name of the port that is to be added to the portset. It can
be input in two styles.

The filername:slotletter format will add the port from a specific filer.
For example: “buxton:4a”

The slotletter format will add the port from both the local and partner
filers. For example: "4a"

Required? true
Position? 2
Default value
Accept pipeline input? true (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

-WhatIf


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

-Confirm


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


NOTES


Category: portset
API: portset-add

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

C:\PS>Add-NaPortsetPort portset1 0c


Add port '0c' to portset 'portset1'.


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



RELATED LINKS
Remove-NaPortsetPort







 Data ONTAP® PowerShell Toolkit