Edit

Share via


Remove-CsTeamsShiftsConnection

This cmdlet deletes a Shifts connection.

Syntax

Default (Default)

Remove-CsTeamsShiftsConnection
    -ConnectionId <String>
    -InputObject <IConfigApiBasedCmdletsIdentity>
    [-PassThru]
    [<CommonParameters>]

Description

This cmdlet deletes a connection. All available connections can be found by running Get-CsTeamsShiftsConnection.

Examples

Example 1

PS C:\> Remove-CsTeamsShiftsConnection -ConnectionId 43cd0e23-b62d-44e8-9321-61cb5fcfae85

Deletes the connection with ID 43cd0e23-b62d-44e8-9321-61cb5fcfae85.

Parameters

-ConnectionId

Applicable: Microsoft Teams

The ID of the connection that you want to delete.

Parameter properties

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

Parameter sets

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

-InputObject

The identity parameter.

Parameter properties

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

Parameter sets

RemoveViaIdentity
Position:Named
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

-PassThru

Enables you to pass a user object through the pipeline that represents the user being assigned the policy.

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

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.