10.5 Get-DRAAssistantAdminGroupMembers

Synopsis

Retrieves all members from an Assistant Admin group.

Syntax

Get-DRAAssistantAdminGroupMembers -Identifier <String> [-Attributes <String[]>] [-ObjectsPerResponse <Int32>] [-ResumeString <String>] [-DRARestServer <String>] [-DRARestPort <Int32>] [-IgnoreCertificateErrors <SwitchParameter>] [-Force <SwitchParameter>] [-Timeout <Int32>] [<CommonParameters>]

Description

The Get-DRAAssistantAdminGroupMembers cmdlet retrieves all members from an Assistant Admin group.

Parameters

Attribute / Description

Parameters / Values

Required

Position

Default Value

Accept Pipeline input?

Accept wildcard characters?

Identifier <String>

The name of an existing Assistant Admin group to remove members from.

true

named

 

true (ByPropertyName)

false

Attributes [<String[]>]

An array of attributes to retrieve specific values. If this parameter is missing, a default list of properties is returned.

false

named

 

true (ByPropertyName)

false

ObjectsPerResponse [<Nullable`1>]

The number of objects to return in a response. The default is 250.

false

named

250

false

false

ResumeString [<String>]

When multiple responses are needed to return all of the search results to the client, this parameter indicates the last item returned from the server. The value of this parameter would be set using the ResumeString property from the previous set of results. The ResumeString may look like this:

"CN=MYUser160,CN=Users,DC=MyDomain,DC=corp" or

"CN=679F4DD0-5C6C-412F-B600-DCADD401DA0D,AZ=3e6d3c95-7249-4036-8af5-e6a4f517bd68"

false

named

 

false

false

DRARestServer [<String>]

The name of the computer running the DRA Rest Service. The requested DRA operation will execute on this server. If the parameter is not specified, the value defaults to 'localhost'.

false

named

 

true (ByPropertyName)

false

DRARestPort [<Int32>]

The port where the DRA REST Service listens for requests. If the parameter is not specified, the value defaults to 8755.

false

named

8755

true (ByPropertyName)

false

IgnoreCertificateErrors [<SwitchParameter>]

Allows the request to bypass any SSL certificate errors, such as the InvalidOperation error that occurs when the REST Service is bound to a self-signed certificate.

false

named

 

false

false

Force [<SwitchParameter>]

Suppresses any request for user input and supplies a 'yes' response. For example: -Force with a delete request will perform the delete without presenting the confirmation request to the user.

false

named

 

false

false

Timeout [<Int32>]

The number of seconds to wait before the request to the DRA REST server times out. To specify an infinite timeout, you can set this parameter to -1.

false

named

100 seconds

true (ByPropertyName)

false

<CommonParameters>

Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see About CommonParameters.

 

 

 

 

 

NOTE:For more information, type "Get-Help Get-DRAAssistantAdminGroupMembers -detailed". For technical information, type "Get-Help Get-DRAAssistantAdminGroupMembers -full".

Example 10-7 1

PS C:\>Get-DRAAssistantAdminGroupMembers -Identifier "myAAGroup"

This example retrieves all members belonging to the "myAAGroup" Assistant Admin group.

Example 10-8 2

PS C:\>Get-DRAAssistantAdminGroupMembers -Identifier "myAAGroup" -Attributes "Name","FriendlyName","FriendlyPath","Path","Description" -DRARestServer localhost -Timeout -1 -IgnoreCertificateErrors

This example retrieves all members belonging to the "myAAGroup" Assistant Admin group. The Attributes parameter specifies the properties to return. It specifies the rest server and ignores certificate errors.