Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

Remove-CsTrustedApplicationComputer

 

Topic Last Modified: 2013-02-21

Removes a trusted application computer. This cmdlet was introduced in Lync Server 2010.

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

This example removes the computer with the FQDN Trust1.litwareinc.com.

Remove-CsTrustedApplicationComputer -Identity Trust1.litwareinc.com

This example removes all trusted computers that have FQDNs beginning with the string Trust. The example begins by calling the Get-CsTrustedApplicationComputer cmdlet, passing the Filter parameter the value Trust*. This will retrieve all trusted application computers with an FQDN beginning with Trust and ending with any set of characters. That collection of computers is then piped to the Remove-CsTrustedApplicationComputer cmdlet, which removes each item (each computer) in the collection. Keep in mind that this won’t remove the computers from a pool if removing those computers would result in an empty pool.

Get-CsTrustedApplicationComputer -Filter Trust* | Remove-CsTrustedApplicationComputer

It is recommended that the computers that are running trusted applications within a Lync 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. Use this cmdlet to remove a trusted application computer.

When you use this cmdlet to remove a trusted application computer, it will be removed not only from the list of trusted application computers but from the list of computers available on Lync Server. In other words, if you call the Get-CsTrustedApplicationComputer cmdlet or the Get-CsComputer cmdlet the computer will no longer be listed. You cannot remove a trusted application computer if it’s the only computer on the pool. If you want to remove the only computer on a pool you must remove the entire pool (which can be done by calling the Remove-CsTrustedApplicationPool cmdlet).

Who can run this cmdlet: By default, members of the following groups are authorized to run the Remove-CsTrustedApplicationComputer cmdlet locally: RTCUniversalServerAdmins. To return a list of all the role-based access control (RBAC) roles this cmdlet has been assigned to (including any custom RBAC roles you have created yourself), run the following command from the Windows PowerShell prompt:

Get-CsAdminRole | Where-Object {$_.Cmdlets –match "Remove-CsTrustedApplicationComputer"}

 

Parameter Required Type Description

Identity

Required

Microsoft.Rtc.Management.Xds.XdsGlobalRelativeIdentity

The fully qualified domain name (FQDN) of the computer to remove.

Confirm

Optional

System.Management.Automation.SwitchParameter

Prompts you for confirmation before executing the command.

Force

Optional

System.Management.Automation.SwitchParameter

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

WhatIf

Optional

System.Management.Automation.SwitchParameter

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

Microsoft.Rtc.Management.Xds.DisplayComputer object. Accepts pipelined input of trusted application computer objects.

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

 
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.