Data ONTAP® PowerShell Toolkit

Cmdlet: New-NaGroup


NAME
New-NaGroup

SYNOPSIS
Adds a group given the information provided.

SYNTAX
New-NaGroup [-Group] <String> [-Comment <String>] [-Roles] <String[]> [-Cont
roller <NaController>] [-WarningAction <ActionPreference>] [-WarningVariable
<String>] [<CommonParameters>]


DESCRIPTION
Adds a group given the information provided.


PARAMETERS
-Group <String>
Group name.

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

-Comment <String>
Group comment.

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

-Roles <String[]>
List of roles this new group will have.

Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false

-Controller <NaController>
The DataONTAP controller object, embodied by an NaController object. Th
is parameter is returned by the Connect-NaController cmdlet. If not spe
cified, the value in the global variable CurrentNaController is used.

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

-WarningAction <ActionPreference>


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

-WarningVariable <String>


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.Useradmin.UseradminGroupInfo


NOTES


Category: useradmin
API: useradmin-group-add

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

C:\PS>New-NaGroup HyperVAdmins -Comment "HyperV VM administrators" power


Create a new group 'HyperVAdmins' with the 'power' role.


AllowedCapabilities : {cli-cifs*, cli-exportfs*, cli-nfs*, cli-useradmin*...
}
Comment : HyperV VM administrators
Name : HyperVAdmins
Rid : 131083
UseradminRoles : {power}



RELATED LINKS
Get-NaGroup
Set-NaGroup
Remove-NaGroup







 Data ONTAP® PowerShell Toolkit