Modifier

Partager via


Test-RDOUAccess

Verifies that the Remote Desktop Connection Broker server can access an Active Directory Domain Services organizational unit.

Syntax

Test-RDOUAccess
    [[-Domain] <String>]
    [-OU] <String>
    [[-ConnectionBroker] <String>]
    [<CommonParameters>]

Description

The Test-RDOUAccess cmdlet verifies that the RD Connection Broker server has access to the organizational units (OUs) in a given domain of Active Directory Domain Services (AD DS).

The RD Connection Broker must have Read access to an OU to query user account information.

Examples

Example 1: Verify access to an OU

PS C:\> Test-RDOUAccess -ConnectionBroker "Rdcb.Contoso.com" -OU "Computers"

This command tests access to an OU named Computers by the RD Connection Broker server named Rdcb.Contoso.com.

Parameters

-ConnectionBroker

Specifies an RD Connection Broker server for a remote desktop deployment. If you do not supply a value, the cmdlet uses the fully qualified domain name (FQDN) of the local computer.

Type:String
Position:2
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Domain

Specifies the Active Directory (AD) domain for which to verify access.

Type:String
Position:0
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-OU

Specifies one or more OUs for which to verify access.

Type:String
Position:1
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

Outputs

Object