Gets all of the rules for an ActiveView.
Get-DRAActiveViewRules -Identifier <String> [-Attributes <String[]>] [-ObjectsPerResponse <Int32>] [-ResumeString <String>] [-DRARestServer <String>] [-DRARestPort <Int32>] [-IgnoreCertificateErrors <SwitchParameter>] [-Force <SwitchParameter>] [-Timeout <Int32>] [<CommonParameters>]
The Get-DraActiveViewRules cmdlet gets all delegation rules from the specified ActiveView.
Attribute / Description |
Parameters / Values |
||||
---|---|---|---|---|---|
Required |
Position |
Default Value |
Accept Pipeline input? |
Accept wildcard characters? |
|
Identifier <String> The name or distinguished name of an existing Active Directory object. When the name is specified, an additional call to the DRA Server is needed to obtain the distinguished name for the object. |
true |
named |
|
true (ByPropertyName) |
false |
Attributes [<String[]>] An array of attributes to retrieve values for. 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-DRAActiveViewRules -detailed". For technical information, type "Get-Help Get-DRAActiveViewRules -full".
Example 10-3 1
PS C:\>Get-DRAActiveViewRules -Identifier "MyAV"
This example gets the delegations rules from the ActiveView named "MyAV".
Example 10-4 2
PS C:\>Get-DRAActiveViewRules -Identifier "MyAV" -Attributes "NameValue","Path","Description" -DRARestServer localhost -Timeout -1 -IgnoreCertificateErrors
This example gets the delegations rules from the ActiveView named "MyAV" with Attributes of NameValue, Path, and Description.