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

To return a list of all the Role-Based Access Control (RBAC) roles a cmdlet has been assigned to (including any custom RBAC roles you have created), run the following command from the Windows PowerShell prompt.

Get-CsAdminRole | Where-Object {$_.Cmdlets -Match "\<DesiredCmdletName\>"}

Examples

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

Remove-CsCallViaWorkPolicy -Identity CvWStandardPolicy

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

Required Parameters

-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
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
Applies to:Skype for Business Server 2015

Optional Parameters

-Confirm

Prompts you for confirmation before executing the command.

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

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

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

This parameter is reserved for internal Microsoft use.

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

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

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

Inputs

None.

Outputs

None.