Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP 7-mode documentation.

Cmdlet: Set-NcVserver


NAME
Set-NcVserver

SYNOPSIS
Modify the attributes of vserver.

SYNTAX
Set-NcVserver [-Name] <String> [-Aggregates <String[]>] [-AllowedProtocols <
String[]>] [-AntivirusOnAccessPolicy <String>] [-Comment <String>] [-Disallo
wedProtocols <String[]>] [-MaxVolumes <String>] [-NameMappingSwitch <String[
]>] [-NameServerSwitch <String[]>] [-QuotaPolicy <String>] [-SnapshotPolicy
<String>] [-Controller <NcController[]>] [-WhatIf] [-Confirm] [<CommonParame
ters>]


DESCRIPTION
Modify the attributes of vserver.


PARAMETERS
-Name <String>
Name of the vserver to modify.

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

-Aggregates <String[]>
The list of aggregates assigned for volume operations. These aggregates
could be shared for use with other vservers.

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

-AllowedProtocols <String[]>
Allowed protocols. If conflicting entries are provided as input to Allo
wedProtocols and DisallowedProtocols list, then those entries will becom
e part of the DisallowedProtocols list. Possible values: 'nfs', 'cifs',
'fcp', 'iscsi'.

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

-AntivirusOnAccessPolicy <String>
Antivirus policy. Default: default.

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

-Comment <String>
Comment.

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

-DisallowedProtocols <String[]>
Disallowed protocols. If conflicting entries are provided as input to A
llowedProtocols and DisallowedProtocols list, then those entries will be
come part of the DisallowedProtocols list. Possible values: 'nfs', 'cif
s', 'fcp', 'iscsi'.

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

-MaxVolumes <String>
The maximum number of volumes that can be created on the vserver, or 'un
limited'.

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

-NameMappingSwitch <String[]>
Name mapping switch configuration details for the vserver. Possible val
ues: 'file', 'ldap'.

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

-NameServerSwitch <String[]>
Name server switch configuration details for the vserver. Possible valu
es: 'nis', 'file', 'ldap'.

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

-QuotaPolicy <String>
The name of the quota policy. The default policy name is 'default'.

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

-SnapshotPolicy <String>
Snapshot policy setting. Default is 'default'.

Required? false
Position? named
Default value default
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

-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.C.Types.Vserver.VserverInfo


NOTES


Category: vserver
API: vserver-modify
Family: cluster

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

C:\PS>Set-NcVserver vserver3 -AllowedProtocols iscsi,fcp -Comment "Exchange
LUNs"


Configure vserver 'vserver3'.


Name State VserverType Comment
---- ----- ----------- -------
vserver3 running cluster Exchange LUNs



RELATED LINKS
Update-NcVserver







 Data ONTAP® PowerShell Toolkit