Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP Cluster-mode documentation.

Cmdlet: Get-NaGroup


NAME
Get-NaGroup

SYNOPSIS
Lists full information for all groups on the system.

SYNTAX
Get-NaGroup [[-Group] <String>] [-GetCapabilities] [-Controller <NaControlle
r>] [<CommonParameters>]


DESCRIPTION
Lists full information for all groups on the system.


PARAMETERS
-Group <String>
List only the information associated with this group.

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

-GetCapabilities
Default is false. If set to true, then the allowed capabilities are plac
ed into the group-info structure. Depending on number of groups and role
s, this operation may take a long time.

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

<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-list

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

C:\PS>Get-NaGroup -GetCapabilities


Get all of the groups on the current controller, including the capabilities
for each.


Name : Administrators
Comment : Members can fully administer the filer
UseradminRoles : {admin}
AllowedCapabilities :
Rid : 544

Name : Backup Operators
Comment : Members can bypass file security to backup files
UseradminRoles : {backup, none}
AllowedCapabilities :
Rid : 551

Name : Compliance Administrators
Comment : Members can perform compliance operations
UseradminRoles : {compliance}
AllowedCapabilities :
Rid : 131073

Name : Guests
Comment : Users granted Guest Access
UseradminRoles : {none}
AllowedCapabilities :
Rid : 546

Name : Power Users
Comment : Members that can share directories
UseradminRoles : {power}
AllowedCapabilities :
Rid : 547

Name : Replicators
Comment : not supported
UseradminRoles : {none}
AllowedCapabilities :
Rid : 552

Name : SuperUsers
Comment : group2comment
UseradminRoles : {audit}
AllowedCapabilities :
Rid : 131080

Name : Users
Comment : Ordinary Users
UseradminRoles : {audit}
AllowedCapabilities :
Rid : 545

Name : VirtAdmins
Comment : HyperV VM administrators
UseradminRoles : {power, audit}
AllowedCapabilities :
Rid : 131085



RELATED LINKS
Set-NaGroup
New-NaGroup
Remove-NaGroup







 Data ONTAP® PowerShell Toolkit