NAME

Get-HPOVLdapGroup

SYNOPSIS

List Directory Group role assignment.

SYNTAX

Get-HPOVLdapGroup [[-GroupName] <String>] [[-Export] <String>] [-Report] [<CommonParameters>]

DESCRIPTION

This cmdlet will display the configured directory groups on the appliance, and display their assigned role(s). The default display will include the URI of each configured group. Use the Report switch to display only the Directory Group Name, Login Domain and assigned role(s).

PARAMETERS

-groupName <String>
Alias ['group', 'name']
Configured Directory Group Name. If omitted, all configured Directory Groups will be displayed.
Required? false
Position? 1
Default value <none>         
Accept pipeline input? false
Accept wildcard characters?      false
-export <String>
Export JSON content to file
Required? false
Position? 2
Default value <none>         
Accept pipeline input? false
Accept wildcard characters?      false
-Report [<SwitchParameter>]
Display only the Directory Group Name, Login Domain and assigned role(s).
Required? false
Position? 3
Default value <none>
Accept pipeline input? false
Accept wildcard characters? false                   


<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).

INPUTS

None.

OUTPUTS

Formatted table displaying configured directory groups.
System.Array

RELATED LINKS

EXAMPLES

-------------------------- EXAMPLE 1 --------------------------

PS C:\> Get-HPOVLdapGroup

type        : Group2RolesMappingPerGroupDto
roles       : {Server administrator}
loginDomain : domain1
egroup      : My Directory Group1
uri         : /rest/logindomains/grouptorolemapping/1/My$_sp_$Directory$_sp_$Group1
category    : users
created     : 2014-01-15T00:20:18.848Z
modified    : 2014-01-15T00:20:18.848Z
eTag        : 2014-01-15T00:20:18.848Z

type        : Group2RolesMappingPerGroupDto
roles       : {Network administrator}
loginDomain : domain1
egroup      : My Directory Group2
uri         : /rest/logindomains/grouptorolemapping/1/My$_sp_$Directory$_sp_$Group2
category    : users
created     : 2014-01-15T00:20:18.848Z
modified    : 2014-01-15T00:20:18.848Z
eTag        : 2014-01-15T00:20:18.848Z
Get list of configured Directory Groups.

-------------------------- EXAMPLE 2 --------------------------

PS C:\>Get-HPOVLdapGroup -Group "My Directory Group1"

type        : Group2RolesMappingPerGroupDto
roles       : {Server administrator}
loginDomain : domain1
egroup      : My Directory Group1
uri         : /rest/logindomains/grouptorolemapping/1/My$_sp_$Directory$_sp_$Group1
category    : users
created     : 2014-01-15T00:20:18.848Z
modified    : 2014-01-15T00:20:18.848Z
eTag        : 2014-01-15T00:20:18.848Z
Display My Directroy Group1 and the assigned roles

-------------------------- EXAMPLE 3 --------------------------

PS C:\>Get-HPOVLdapGroup -export C:\dir\directorygroups.json
Export configured Directory Groups to c:\dir\directorygroups.json

-------------------------- EXAMPLE 4 --------------------------

PS C:\>Get-HPOVLdapGroup -report

Group Name          Directory Name Roles
----------          -------------- -----
My Directory Group1 directory1     {Server administrator}
My Directory Group2 directory1     {Network administrator}
Display list of Directory Groups without displaying the URI, for reporting purposes.

Last edited Feb 4, 2014 at 7:58 PM by ChrisLynchHP, version 4