Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

Test-RDOUAccess

Test-RDOUAccess

remotedesktop.psm1

Synopsis

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

Syntax

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

Detailed 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.

Parameters

-ConnectionBroker <String>

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.

Aliases

None

Required?

false

Position

3

Default value

Accept pipeline input?

false

Accept wildcard characters?

false

-Domain <String>

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

Aliases

None

Required?

false

Position

1

Default value

Accept pipeline input?

false

Accept wildcard characters?

false

-OU <String>

Specifies one or more OUs for which to verify access.

Aliases

None

Required?

true

Position

2

Default value

Accept pipeline input?

false

Accept wildcard characters?

false

Input Type


Return Type

System.Object

Notes

None

Examples

Example 1: Verify access to an OU

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

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

Online Version
Grant-RDOUAccess