Test-RDOUAccess
Updated: September 14, 2012
Applies To: Windows Server 2012
Test-RDOUAccess
Syntax
Parameter Set: __AllParameterSets Test-RDOUAccess [[-Domain] <String> ] [-OU] <String> [[-ConnectionBroker] <String> ] [ <CommonParameters>]
Detailed Description
The Test-RDOUAccess cmdlet verifies that the Remote Desktop Connection Broker (RD Connection Broker) server has access to the organizational units (OUs) in a given domain of the Active Directory Domain Services (AD DS) server. The server running AD DS is the domain controller. An OU is the lowest-level Active Directory container to which you can assign Group Policy settings.
Parameters
-ConnectionBroker<String>
Specifies the Remote Desktop Connection Broker (RD Connection Broker) server for this remote desktop deployment. If not supplied, defaults to the fully qualified domain name (FQDN) of the local host.
|
Aliases |
none |
|
Required? |
false |
|
Position? |
3 |
|
Default Value |
none |
|
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 |
none |
|
Accept Pipeline Input? |
false |
|
Accept Wildcard Characters? |
false |
-OU<String>
Specifies one or more organizational units (OUs) for which to verify access. This parameter is required.
|
Aliases |
none |
|
Required? |
true |
|
Position? |
2 |
|
Default Value |
none |
|
Accept Pipeline Input? |
false |
|
Accept Wildcard Characters? |
false |
<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters.
Outputs
The output type is the type of the objects that the cmdlet emits.
- System.Object
Examples
Example 1:
Description
PS C:\> Test-RDOUaccess -ConnectionBroker rdcb.contoso.com -OU Computers
Example 2:
Description
PS C:\> Test-RDOUAccess -ConnectionBroker rdcb.contoso.com -OU "CN=Computers,DC=contoso,DC=com"
