|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: New-NaPortset
NAME
New-NaPortset
SYNOPSIS
Create a port set.
SYNTAX
New-NaPortset [-Name] <String> [[-Protocol] <String>] [-Controller <NaContro
ller>] [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
Create a port set.
PARAMETERS
-Name <String>
Name of the port set to create.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-Protocol <String>
Type of the port set ("fcp" or "iscsi"). Currently only "fcp" is suppor
ted.
Required? false
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
NetApp.Ontapi.Filer.Portset.PortsetInfo
NOTES
Category: portset
API: portset-create
-------------- Example 1 --------------
C:\PS>New-NaPortset portset1
Create a new portset 'portset1'.
PortsetName : portset1
PortsetPortInfo : {}
PortsetPortTotal : 0
PortsetType : fcp
InitiatorGroupInfo : {}
RELATED LINKS
Remove-NaPortset
Get-NaPortset
| Copyright © 2012 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|