[This is preliminary documentation and is subject to change. Blank topics are included as placeholders.]

Revokes the Microsoft Communications Server “14” management permissions that have been granted on an Active Directory organizational unit.

Syntax

Revoke-CsOUPermission -ObjectType <User | Computer | InetOrgPerson | Contact | AppContact | Device> -OU <String> [-Confirm [<SwitchParameter>]] [-Domain <Fqdn>] [-DomainController <Fqdn>] [-Force <SwitchParameter>] [-GlobalCatalog <Fqdn>] [-Report <String>] [-WhatIf [<SwitchParameter>]]

Parameters

Parameter Required Type Description

OU

Required

Active Directory distinguished name

Distinguished name of the OU where permissions are to be removed. For example: -OU "ou=Redmond,dc=litwareinc,dc=com".You can only remove permissions from a single OU per command.

ObjectType

Required

String

Type of object covered by these permissions. Valid values are:

User

Computer

Contact

AppContact

InetOrgPerson

To assign multiple object types in the same command, separate the object types by using commas: -ObjectType "user","computer","contact".

Domain

Optional

String

Name of the domain where the OU is located. If this parameter is not included, then Revoke-CsOUPermission will look for the OU on the current domain.

Report

Optional

String

Enables you to specify a file path for the log file created when the cmdlet runs. For example: -Report "C:\Logs\OUPermissions.xml"

DomainController

Optional

String

Enables administrators to specify the fully qualified domain name of the domain controller to be used when running Revoke-CsOUPermission. If not specified, the cmdlet will use the first available domain controller.

GlobalCatalog

Optional

String

Fully qualified domain name of a global catalog server in your domain. This parameter is not required if you are running Revoke-CsOUPermission on a computer with an account in your domain.

Force

Optional

SwitchParameter

Suppresses the display of any non-fatal error message that might arise when running the command.

WhatIf

Switch Parameter

Describes what would happen if you executed the command without actually executing the command.

Confirm

Optional

Switch Parameter

Prompts you for confirmation before executing the command.

Detailed Description

If you have locked down your Active Directory domain (that is, if you have disabled permission inheritance) then the domain preparation which takes place when you install Microsoft Communications Server will not be able to add the permissions needed to manage users, computers, contacts, application contacts, and InetOrg persons. (Domain administrators will still be able to manage these objects, but members of the RTCUniversalServerAdmins group will not.) In that case, you will need to use the Grant-CsOUPermission to give RTCUniversalServerAdmins the required permissions. This must be done on a container-by-container basis.

Note that this cmdlet only grants permissions to the RTCUniversalServerAdmins group; the cmdlet cannot be used to grant permissions to other security groups or to individual users.

Permissions granted by using Grant-CsOUPermission can later be removed using Revoke-CsOUPermission. If you run that cmdlet then the RTCUniversalServerAdmins group will no longer have management permissions for Communications Server (at least not for the specified Active Directory container). In that case, you will need to be an enterprise administrator or a domain administrator in order to manage Communications Server or one of its components.

Return Types

Examples

-------------------------- Example 1 ------------------------

Copy Code
Revoke-CsOUPermission -OU "ou=Redmond,dc=litwareinc,dc=com" -ObjectType "user"

The command shown in Example 1 revokes user management permissions (-ObjectType "user") for the Redmond OU in the domain litwareinc.com.

-------------------------- Example 2 ------------------------

Copy Code
Revoke-CsOUPermission -OU "ou=Redmond,dc=litwareinc,dc=com" -ObjectType "user","contact","inetOrgPerson"

In Example 2, three different management permissions (user, contact, and inetOrgPerson objects) are removed from the Redmond OU in the domain litwareinc.com.