Set-CsTrustedApplication
Modifies the settings for a trusted application. This cmdlet was introduced in Lync Server 2010.
Syntax
Default (Default)
Set-CsTrustedApplication
[[-Identity] <ExternalApplicationIdentity>]
[-Port <Int32>]
[-Force]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
A trusted application is an application developed by a third party that is given trusted status to run as part of Skype for Business Server but that is not a built-in part of the product. This cmdlet allows you to modify the port number that the external service that runs the application is using.
When you use this cmdlet to modify a trusted application, you must supply a value for the Identity parameter.
The Identity is the fully qualified domain name (FQDN) of the pool on which the application is homed followed by a slash (/) followed by the application ID.
For example, TrustPool.litwareinc.com/tapp2, where TrustPool.litwareinc.com is the pool FQDN and tapp2 is the application ID.
Note that if you view an existing application by calling the Get-CsTrustedApplication
cmdlet, you'll see an ID that looks more like this: TrustPool.litwareinc.com/urn:application:tapp2.
Notice the prefix urn:application: before the application name (tapp2).
While this prefix is part of the Identity, it's not required when you specify the value for the Identity parameter.
Examples
Example 1
Set-CsTrustedApplication -Identity TrustPool.litwareinc.com/tapp2 -Port 6200
This example modifies the port for the trusted application with the Identity TrustPool.litwareinc.com/tapp2 to port 6200.
This is accomplished by passing the Set-CsTrustedApplication
cmdlet an Identity of TrustPool.litwareinc.com/tapp2.
This Identity consists of the name of the pool on which the application resides followed by the name (or ID) of the application.
We then include the Port parameter, giving it a value of 6200 to modify that value.
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 unique identifier of the trusted application you want to modify. Identity values must be entered in the format <pool FQDN>/<application ID>, where pool FQDN is the FQDN of the pool on which the application resides, and application ID is the name of the application.
Parameter properties
Type: | ExternalApplicationIdentity |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | 2 |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-Port
Applicable: Lync Server 2010, Lync Server 2013, Skype for Business Server 2015, Skype for Business Server 2019
The port number on which the application will run.
Parameter properties
Type: | Int32 |
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 |
-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.DisplayTrustedApplication
Accepts pipelined input of trusted application objects.
Outputs
None
This cmdlet does not return a value. It modifies an object of type Microsoft.Rtc.Management.Xds.DisplayTrustedApplication.