|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Set-NaGroup
NAME
Set-NaGroup
SYNOPSIS
Modifies a group given the information provided.
SYNTAX
Set-NaGroup [-Group] <String> [-Comment <String>] [-AddRoles <String[]>] [-R
emoveRoles <String[]>] [-Controller <NaController>] [-WhatIf] [-Confirm] [<C
ommonParameters>]
DESCRIPTION
Modifies a group given the information provided.
PARAMETERS
-Group <String>
Name of group to modify.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-Comment <String>
Optional comment for the group.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-AddRoles <String[]>
List of roles to add to the group.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-RemoveRoles <String[]>
List of roles to remove from the group.
Required? false
Position? named
Default value
Accept pipeline input? false
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.Useradmin.UseradminGroupInfo
NOTES
Category: useradmin
API: useradmin-group-modify
-------------- Example 1 --------------
C:\PS>Set-NaGroup VirtAdmins -AddRoles audit
Add the 'audit' role to the 'VirtAdmins' group.
Name : VirtAdmins
Comment : HyperV VM administrators
UseradminRoles : {power, audit}
AllowedCapabilities : {cli-cifs*, cli-exportfs*, cli-nfs*, cli-useradmin*...
}
Rid : 131085
RELATED LINKS
Get-NaGroup
New-NaGroup
Remove-NaGroup
| Copyright © 2012 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|