Get-CsCallViaWorkPolicy

Use the Get-CsCallViaWorkPolicy cmdlet to return call via work policies. Call via work policies enable and manage the characteristics of outbound calls placed through the Skype for Business client.

Syntax

Get-CsCallViaWorkPolicy
   [-Filter <String>]
   [-LocalStore]
   [-Tenant <Guid>]
   [<CommonParameters>]
Get-CsCallViaWorkPolicy
   [[-Identity] <XdsIdentity>]
   [-LocalStore]
   [-Tenant <Guid>]
   [<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 --------------------------

Get-CsCallViaWorkPolicy -Identity Site:Redmond

This example returns the properties of the policy currently assigned to the Redmond site.

Optional Parameters

-Filter

Enables you to use wildcard characters when indicating the policy (or policies) to be returned. For example, to return all the policies configured at the site scope use this syntax: -Filter "site:". To return a collection of all the per-user policies, use this syntax: -Filter "tag:"

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

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

Global syntax: -Identity Global

Site syntax: -Identity Site:Redmond

Per-user syntax: -Identity CallviaWorkStandard

Type:XdsIdentity
Position:2
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Server 2015
-LocalStore

Retrieves the call via work policy data from the local replica of the Central Management store rather than from the Central Management store itself.

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

Inputs

None

Outputs

Microsoft.Rtc.Management.WritableConfig.Policy.CallViaWork.CallViaWorkPolicy