Bewerken

Delen via


New-CsTeamsEmergencyNumber

Syntax

New-CsTeamsEmergencyNumber
   [-EmergencyDialString <String>]
   [-EmergencyDialMask <String>]
   [-OnlinePSTNUsage <String>]
   [<CommonParameters>]

Description

This cmdlet supports creating multiple Teams emergency numbers. Used with TeamsEmergencyCallRoutingPolicy and only relevant for Direct Routing.

Examples

Example 1

PS C:\> New-CsTeamsEmergencyNumber -EmergencyDialString 911 -EmergencyDialMask 933 -OnlinePSTNUsage "US911"

Create a new Teams emergency number

Example 2

PS C:\> New-CsTeamsEmergencyNumber -EmergencyDialString "112" -EmergencyDialMask "117;897" -OnlinePSTNUsage "EU112"

Create a new Teams emergency number with multiple emergency dial masks.

Parameters

-EmergencyDialMask

For each Teams emergency number, you can specify zero or more emergency dial masks. A dial mask is a number that you want to translate into the value of the emergency dial number value when it is dialed. Dial mask must be list of numbers separated by semicolon. Each number string must be made of the digits 0 through 9 and can be from 1 to 10 digits in length.

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

-EmergencyDialString

Specifies the emergency phone number

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

-OnlinePSTNUsage

Specify the online public switched telephone network (PSTN) usage

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

Inputs

None

Outputs

System.Object