< Back

Grant-RDOUAccess

Thu Apr 04, 2019 5:42 am

NAME Grant-RDOUAccess



SYNOPSIS

Grants the Remote Desktop Connection Broker server access to one or more organizational units in a given domain of Active Directory Domain

Services.





SYNTAX

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





DESCRIPTION

The Grant-RDOUAccess cmdlet grants the Remote Desktop Connection Broker (RDConnection Broker) server access to one or more 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 RDConnection 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.



Required? false

Position? 3

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-Domain [<String>]

Specifies an Active Directory (AD) domain to which to grant access.



Required? false

Position? 1

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-OU <String>

Specifies one or more OUs to which to grant access.



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, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS









OUTPUTS

System.Object







Example 1: Grant the RD Connection Broker access to the Computers OU



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



This command grants the RD?? Connection Broker server named Rdcb.Contoso.com access to the OU named Computers.







RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkId=294233

Test-RDOUAccess