Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP Cluster-mode documentation.

Cmdlet: Remove-NaPortsetPort


NAME
Remove-NaPortsetPort

SYNOPSIS
Removes a port from a port set.

SYNTAX
Remove-NaPortsetPort [-Name] <String> [-Port] <String> [-Controller <NaContr
oller>] [-WhatIf] [-Confirm] [<CommonParameters>]


DESCRIPTION
Removes a port from a port set.


PARAMETERS
-Name <String>
Name of the 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 removed from the portset. It
can be input in two styles.

The filername:slotletter format will remove the port from a specific fil
er. For example: “buxton:4a”

The slotletter format will remove the port from both the local and partn
er 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-remove

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

C:\PS>Remove-NaPortsetPort portset1 0c


Unbind port '0c' from portset 'portset1'.


PortsetName : portset1
PortsetPortInfo : {}
PortsetPortTotal : 0
PortsetType : fcp
InitiatorGroupInfo : {}



RELATED LINKS
Add-NaPortsetPort







 Data ONTAP® PowerShell Toolkit