Edit

Share via


Remove-CsTrustedApplicationPool

Removes a pool that contains the computers that host trusted applications. This cmdlet was introduced in Lync Server 2010.

Syntax

Default (Default)

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

Description

It is recommended that the computers that are running trusted applications within a Skype for Business Server deployment be added to a separate pool that is only for trusted applications. However, you can add trusted application computers to an existing pool that is also used for other purposes. This cmdlet removes an existing trusted application pool. However, you cannot remove a trusted application pool that does not have a Registrar value. If the trusted application pool has not been assigned a Registrar, you must add a Registrar value with the Set-CsTrustedApplicationPool cmdlet and then remove the pool.

Keep in mind that removing the pool also removes all computers, applications and application endpoints associated with that pool.

Examples

Example 1

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

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 Skype for Business Server 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 wildcard 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.

Parameters

-Confirm

Applicable: Lync Server 2010, Lync Server 2013, Skype for Business Server 2015, Skype for Business Server 2019

Prompts you for confirmation before executing the command.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:cf

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Force

Applicable: Lync Server 2010, Lync Server 2013, Skype for Business Server 2015, Skype for Business Server 2019

Suppresses any confirmation prompts that would otherwise be displayed before making changes.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Identity

Applicable: Lync Server 2010, Lync Server 2013, Skype for Business Server 2015, Skype for Business Server 2019

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

Parameter properties

Type:XdsGlobalRelativeIdentity
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:2
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-WhatIf

Applicable: Lync Server 2010, Lync Server 2013, Skype for Business Server 2015, Skype for Business Server 2019

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

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:wi

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

Microsoft.Rtc.Management.Xds.DisplayExternalServer

Accepts pipelined input of trusted application pool objects.

Outputs

None

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