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

Removes a domain from the list of domains blocked for federation. By definition, your users are not allowed to use Microsoft Communications Server 2010 applications to communicate with people from the blocked domain; for example, users cannot employ Microsoft Communicator "14" to exchange instant messages with anyone with a SIP account in a domain that appears on the blocked list.

Syntax

Remove-CsBlockedDomain -Identity <XdsGlobalRelativeIdentity> [-Confirm [<SwitchParameter>]] [-Force <SwitchParameter>] [-WhatIf [<SwitchParameter>]]

Parameters

Parameter Required Type Description

Identity

Required

String

Fully qualified domain name (e.g., fabrikam.com) of the domain to be removed from the blocked list. Note that you cannot use wildcards when specifying a domain Identity.

Force

Optional

Switch Parameter

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

WhatIf

Optional

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

Federation is a means by which two organizations can set up a trust relationship that facilitates communication between the two groups. When a federation has been established, users in the two organizations can send each other instant messages, subscribe for presence notifications, and otherwise communicate with one another using SIP applications such as Communicator "14". Communications Server 2010 allows for three types of federation: 1) direct federation between your organization and another; 2) federation between your organization and a public provider; and, 3) federation between your organization and a third-party hosting provider.

Setting up direct federation with another organization involves several tasks. To begin with, you must enable your Access Edge servers to allow federation; for more information, type "Get-Help Set-CsAccessEdgeConfiguration" (without the quote marks) at the windows PowerShell prompt. In addition, the other organization must enable federation with you; federation cannot be established unless both parties agree to the relationship.

Equally important, you must manage two federation-related lists: the allowed list and the blocked list. The allowed list represents the organizations you have chosen to federate with; if a domain appears on the allowed list then (depending on your configuration settings) your users will be able to exchange instant messages and presence information with users who have accounts in that federated domain. Conversely, the blocked list represents domains that you are expressly forbidden from federating with: messages sent from a blocked domain will automatically be rejected by Communications Server 2010.

Of course, messages are rejected only as long as the domain appears on the blocked list. To enable federation with a previously-prohibited domain, you can use the Remove-CsBlockedDomain cmdlet to remove that domain from the list of blocked domains.

Return Types

Deletes instances of the Microsoft.Rtc.Management.WriteableConfig.Settings.Edge.BlockedDomain object.

Examples

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

Copy Code
Remove-CsBlockedDomain -Identity fabrikam.com

The command shown in Example 1 removes the domain fabrikam.com from the list of blocked domains. This is done by calling Remove-CsBlockedDomain and specifying the domain with the Identity "fabrikam.com".

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

Copy Code
Get-CsBlockedDomain -Filter *fabrikam* | Remove-CsBlockedDomain 

In Example 2, all the domains that have an Identity that includes the string value "fabrikam" are removed from the list of blocked domains. To do this; Get-CsBlockedDomain and the -Filter parameter are first used to return a collection of all the blocked domains that include the string "fabrikam" somewhere in their Identity. (For example, fabrikam.com, fabrikam.org, us.fabrikam.net, etc.) That collection is then piped to Remove-CsBlockedDomain, which deletes each item in the collection from the list of blocked domains.

-------------------------- Example 3 ------------------------

Copy Code
Get-CsBlockedDomain | Remove-CsBlockedDomain 

The command shown in Example 3 completely clears the list of blocked domains. This task is accomplished by first calling Get-CsBlockedDomain without any parameters; that results in a returned collection that consists of all the domains currently on the blocked domain list. That collection is then piped to Remove-CsBlockedDomain, which removes each item in the collection from the blocked domain list. The net result: no domains will be left on the blocked domain list.