Set-CsTeamsEmergencyCallRoutingPolicy

Syntax

Set-CsTeamsEmergencyCallRoutingPolicy
   [-Tenant <System.Guid>]
   [-EmergencyNumbers <>]
   [-AllowEnhancedEmergencyServices <Boolean>]
   [-Description <String>]
   [[-Identity] <XdsIdentity>]
   [-Force]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-CsTeamsEmergencyCallRoutingPolicy
   [-Tenant <System.Guid>]
   [-EmergencyNumbers <>]
   [-AllowEnhancedEmergencyServices <Boolean>]
   [-Description <String>]
   [-Instance <PSObject>]
   [-Force]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

This cmdlet modifies an existing Teams Emergency Call Routing Policy. Teams Emergency Call Routing policy is used for the life cycle of emergency call routing - emergency numbers and routing configuration

Examples

Example 1

PS C:>  Set-CsTeamsEmergencyCallRoutingPolicy -Identity "testecrp" -AllowEnhancedEmergencyServices:$false -Description "test"

This example modifies an existing Teams Emergency Call Routing Policy.

Parameters

-AllowEnhancedEmergencyServices

Flag to enable Enhanced Emergency Services

Type:Boolean
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Description

Provide a description of the Teams Emergency Call Routing policy to identify purpose of setting it.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-EmergencyNumbers

One or more emergency number objects obtained from New-CsTeamsEmergencyNumber cmdlet

Type:undefined
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Force

The Force switch specifies whether to suppress warning and confirmation messages. It can be useful in scripting to suppress interactive prompts. If the Force switch isn't provided in the command, you're prompted for administrative input if required.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Identity

The Identity parameter is a unique identifier that designates the name of the policy.

Type:XdsIdentity
Position:1
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Instance

The Instance parameter allows you to pass a reference to an object to the cmdlet, rather than set individual parameter values. You can retrieve this object reference by calling the Get-CsTeamsEmergencyCallRoutingPolicy cmdlet.

Type:PSObject
Position:Named
Default value:None
Accept pipeline input:True
Accept wildcard characters:False
-Tenant

Specify the tenant id

Type:System.Guid
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Inputs

System.Management.Automation.PSObject

Outputs

System.Object