Remove-CsCallViaWorkPolicy

Use the Remove-CsCallViaWorkPolicy cmdlet to delete an existing call via work policy. Call via work policies enable and manage the characteristics of outbound calls placed through the Skype for Business client.

Syntax

Remove-CsCallViaWorkPolicy
      [-Identity] <XdsIdentity>
      [-Confirm]
      [-Force]
      [-Tenant <Guid>]
      [-WhatIf]
      [<CommonParameters>]

Description

Use this cmdlet to delete an existing call via work policy.

Examples

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

Remove-CsCallViaWorkPolicy -Identity CvWStandardPolicy

This example removes a per-user scoped policy named "CvWStandardPolicy".

Parameters

-Confirm

Prompts you for confirmation before executing the command.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Server 2015, Skype for Business Server 2019

-Force

Suppresses the display of any non-fatal error messages and completes the cmdlet operation.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Server 2015, Skype for Business Server 2019

-Identity

Specifies the identity of the policy to be removed. Call via work policies can be specified at the global, site, or per-user scope.

The global policy will not be removed, but the parameters will be reset to the defaults.

Site syntax: -Identity Site:Redmond

Per-user syntax: -Identity CallviaWorkStandard

Type:XdsIdentity
Position:2
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False
Applies to:Skype for Business Server 2015, Skype for Business Server 2019

-Tenant

This parameter is reserved for internal Microsoft use.

Type:Guid
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Server 2015, Skype for Business Server 2019

-WhatIf

The WhatIf switch causes the command to simulate its results. By using this switch, you can view what changes would occur without having to commit those changes.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Server 2015, Skype for Business Server 2019

Inputs

None.

Outputs

None.