New-CsTeamsEmergencyCallingPolicy

Syntax

New-CsTeamsEmergencyCallingPolicy
   [-Tenant <System.Guid>]
   [-NotificationGroup <String>]
   [-NotificationDialOutNumber <String>]
   [-ExternalLocationLookupMode <ExternalLocationLookupMode>]
   [-NotificationMode <Microsoft.Rtc.Management.WritableConfig.Policy.Teams.NotificationMode>]
   [-Description <String>]
   [-Identity] <XdsIdentity>
   [-InMemory]
   [-Force]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

This cmdlet creates a new Teams Emergency Calling policy. Emergency calling policy is used for the life cycle of emergency calling experience for the security desk and Teams client location experience.

Examples

Example 1

PS C:>   New-CsTeamsEmergencyCallingPolicy -Identity testECRP -Description "Test ECRP" -NotificationGroup "alert@contoso.com" -NotificationDialOutNumber "4253214567" -NotificationMode NotificationOnly -ExternalLocationLookupMode $true

This example creates a Teams Emergency Calling policy that has a identity of testECRP, where a notification group and number is being defined and also the type of notification.

Parameters

-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

The Description parameter describes the Teams Emergency Calling policy - what it is for, what type of user it applies to and any other information that helps to identify the purpose of this policy. Maximum characters: 512.

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

Enable ExternalLocationLookupMode. This parameter is currently not supported.

Type:ExternalLocationLookupMode
Accepted values:Disabled, Enabled
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
-InMemory

The InMemory parameter creates an object reference without actually committing the object as a permanent change.

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

This parameter represents PSTN number which can be dialed out if NotificationMode is set to either of the two Conference values

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

NotificationGroup is a email list of users and groups to be notified of an emergency call

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

The type of conference experience for security desk notification-support for the ConferenceUnMuted mode is pending.

Type:Microsoft.Rtc.Management.WritableConfig.Policy.Teams.NotificationMode
Accepted values:NotificationOnly, ConferenceMuted, ConferenceUnMuted
Position:Named
Default value:None
Accept pipeline input:False
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

None

Outputs

System.Object