|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Get-NaUnixGroup
NAME
Get-NaUnixGroup
SYNOPSIS
Get a Unix group id and group name given a group id or a group name.
SYNTAX
Get-NaUnixGroup -GroupName <String> [-Controller <NaController>] [<CommonPar
ameters>]
Get-NaUnixGroup -GroupId <Int64> [-Controller <NaController>] [<CommonParame
ters>]
DESCRIPTION
Get a Unix group id and group name given a group id or a group name.
PARAMETERS
-GroupName <String>
Name of an NFS group.
Required? true
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
-GroupId <Int64>
Unix GID.
Required? true
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.Nameservice.UnixGroup
NOTES
Category: nameservice
API: nameservice-map-gid-to-group-name, nameservice-map-group-name-to-gi
d
-------------- Example 1 --------------
C:\PS>Get-NaUnixGroup -GroupName users
Get a group based on its name.
GroupName : users
GroupId : 5
-------------- Example 2 --------------
C:\PS>Get-NaUnixGroup -GroupId 1
Get a group based on its id.
GroupName : daemon
GroupId : 1
RELATED LINKS
| Copyright © 2013 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|