Skip to content

Commit 70fd64d

Browse files
committed
Updating few new examples for TeamsEmergencyCallingPolicy
1 parent 31bcf6a commit 70fd64d

File tree

2 files changed

+42
-8
lines changed

2 files changed

+42
-8
lines changed

teams/teams-ps/teams/New-CsTeamsEmergencyCallingPolicy.md

Lines changed: 24 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,20 +27,37 @@ This cmdlet creates a new Teams Emergency Calling policy. Emergency calling poli
2727

2828
## EXAMPLES
2929

30-
### Example 1
30+
### Emergency calling policy Example 1
31+
In the following example, ECP1, an emergency calling policy with identify ECP1 is configured with full security desk configuration. Extended notifications for the test emergency number, 933, are set to null.
32+
**ECP1**
33+
<ul>
34+
<li>Notification group: [email protected]</li>
35+
<li>Notification Dial Out Number - 14255551234</li>
36+
<li>Notification Mode - Conferenced in and are unmuted</li>
37+
<li>External Lookup Mode - On</li>
38+
</ul>
39+
3140
```powershell
32-
New-CsTeamsEmergencyCallingPolicy -Identity TestECP -Description "Test ECP" -NotificationGroup "[email protected]" -NotificationDialOutNumber "+14255551234" -NotificationMode NotificationOnly -ExternalLocationLookupMode Enabled
41+
$en1 = New-CsTeamsEmergencyCallingExtendedNotification -EmergencyDialString "933"
42+
New-CsTeamsEmergencyCallingPolicy -Identity ECP1 -Description "Test ECP1" -NotificationGroup "[email protected]" -NotificationDialOutNumber "+14255551234" -NotificationMode ConferenceUnMuted -ExternalLocationLookupMode Enabled -ExtendedNotifications @{add=$en1}
3343
```
3444

35-
This example creates a Teams Emergency Calling policy that has an identity of TestECP, where a notification group and number is being defined, the external location lookup mode is enabled and also the type of notification.
45+
### Emergency calling policy Example 2
46+
In the following example, ECP2, an emergency calling policy with identify ECP2 is configured with both 911 and 933 in the extended notification settings. Extended notifications for the test emergency number 911 are set to notify two groups separated by ";" and for 933 are set to null.
47+
**ECP2**
48+
<ul>
49+
<li>Notification group: null</li>
50+
<li>Notification Dial Out Number - null</li>
51+
<li>Notification Mode - null</li>
52+
<li>External Lookup Mode - On</li>
53+
</ul>
3654

37-
### Example 2
3855
```powershell
39-
New-CsTeamsEmergencyCallingPolicy -Identity "TestECP2" -NotificationGroup "[email protected];[email protected]"
56+
$en1 = New-CsTeamsEmergencyCallingExtendedNotification -EmergencyDialString "911" -NotificationGroup "[email protected];[email protected]" -NotificationDialOutNumber "+14255551234" -NotificationMode ConferenceUnMuted
57+
$en2 = New-CsTeamsEmergencyCallingExtendedNotification -EmergencyDialString "933"
58+
New-CsTeamsEmergencyCallingPolicy -Identity ECP2 -Description "Test ECP2" -ExternalLocationLookupMode Enabled -ExtendedNotifications @{add=$en1,$en2}
4059
```
4160

42-
This example creates a Teams Emergency Calling policy that has an identity of TestECP2, with default settings, except for the Notification Group. This parameter expects a single string with all users and groups separated by ";".
43-
4461
## PARAMETERS
4562

4663
### -Identity

teams/teams-ps/teams/Set-CsTeamsEmergencyCallingPolicy.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,24 @@ This cmdlet modifies an existing Teams Emergency Calling policy. Emergency calli
3434
Set-CsTeamsEmergencyCallingPolicy -Identity "TestECP" -NotificationGroup "[email protected];[email protected]"
3535
```
3636

37-
This example modifies an existing policy instance with identity TestECP.
37+
This example modifies NotificationGroup of an existing policy instance with identity TestECP.
38+
39+
### Example 2
40+
```powershell
41+
$en1 = New-CsTeamsEmergencyCallingExtendedNotification -EmergencyDialString "911" -NotificationGroup "[email protected]" -NotificationMode ConferenceUnMuted
42+
Set-CsTeamsEmergencyCallingPolicy -Identity "TestECP" -ExtendedNotifications @{remove=$en1}
43+
```
44+
45+
This example first creates a new Teams Emergency Calling Extended Notification object and then removes that Teams Emergency Calling Extended Notification from an existing Teams Emergency Calling policy.
46+
47+
### Example 3
48+
```powershell
49+
$en1 = New-CsTeamsEmergencyCallingExtendedNotification -EmergencyDialString "911" -NotificationGroup "[email protected]" -NotificationDialOutNumber "+14255551234" -NotificationMode ConferenceUnMuted
50+
$en2 = New-CsTeamsEmergencyCallingExtendedNotification -EmergencyDialString "933"
51+
Set-CsTeamsEmergencyCallingPolicy -Identity "TestECP" -ExtendedNotifications @{add=$en1,$en2}
52+
```
53+
54+
This example first creates two new Teams Emergency Calling Extended Notification objects and then adds them to an existing Teams Emergency Calling policy with identity TestECP.
3855

3956
## PARAMETERS
4057

0 commit comments

Comments
 (0)