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

Removes a pool that contains the computers that host trusted applications.

Syntax

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

Parameters

Parameter Required Type Description

Identity

Required

XdsGlobalRelativeIdentity

The fully qualified domain name (FQDN) or service ID of the pool you want to remove.

Confirm

Optional

SwitchParameter

Prompts you for confirmation before executing the command.

Optional

Guid

Reserved for future use.

WhatIf

Optional

SwitchParameter

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

Detailed Description

Trusted applications must be located on computers separate from the main Microsoft Communications Server 2010 deployment. These computers must be assigned to a pool that contains the service role ExternalServer, which defines that pool as a trusted application pool. This cmdlet removes an existing trusted application pool.

Keep in mind that removing the pool also removes all computers associated with that pool from the list of trusted computers.

Return Types

This cmdlet does not return a value. It removes an object of type Microsoft.Rtc.Management.Xds.DisplayExternalServer.

Examples

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

Copy Code
Remove-CsTrustedApplicationPool -Identity TrustPool.litwareinc.com

This example removes the pool with the FQDN TrustPool.litwareinc.com. We use the Identity parameter to specify the FQDN of the pool we want to remove. Because identities are unique, this command will remove, at most, one pool.

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

Copy Code
Get-CsTrustedApplicationPool | Where-Object {$_.PoolFqdn -match "trust*"} | Remove-CsTrustedApplicationPool

This example removes all trusted pools where the FQDN of the pool begins with the string “trust”. The first part of the command is a call to the Get-CsTrustedApplicationPool cmdlet, which retrieves a collection of all trusted application pools in your Microsoft Communications Server 2010 infrastructure. This collection is piped to the Where-Object cmdlet. The Where-Object cmdlet checks each item in the collection to see whether the PoolFqdn matches the wildcards string trust*. This will result in a collection of all trusted application pools with a PoolFqdn that begins with the string trust followed by any character or characters. Finally, this collection is piped to the Remove-CsTrustedApplicationPool cmdlet, which removes every item in the collection.