Skip to content

Commit bd75aee

Browse files
committed
Update Set-CsPhoneNumberAssignment.md
Adding email notify option via cmdlet during phone number assignment
1 parent 3104841 commit bd75aee

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

teams/teams-ps/teams/Set-CsPhoneNumberAssignment.md

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,11 @@ Set-CsPhoneNumberAssignment -Identity <String> -EnterpriseVoiceEnabled <Boolean>
4444
Set-CsPhoneNumberAssignment -PhoneNumber <string> -ReverseNumberLookup <string> [<CommonParameters>]
4545
```
4646

47+
### Notify
48+
```powershell
49+
Set-CsPhoneNumberAssignment -Identity <string> -PhoneNumber <string> -PhoneNumberType <String> -Notify [<CommonParameters>]
50+
```
51+
4752
## DESCRIPTION
4853
This cmdlet assigns a phone number to a user or resource account. When you assign a phone number the EnterpriseVoiceEnabled flag is automatically set to True.
4954

@@ -149,7 +154,11 @@ This example shows how to turn off reverse number lookup (RNL) on a phone number
149154
Set-CsPhoneNumberAssignment -Identity [email protected] -PhoneNumber '+14255551234' -PhoneNumberType CallingPlan -AssignmentCategory Private
150155
```
151156
This example shows how to assign a private phone number (incoming calls only) to a user.
152-
157+
### Example 13
158+
```powershell
159+
Set-CsPhoneNumberAssignment -Identity [email protected] -PhoneNumber '+14255551234' -PhoneNumberType CallingPlan -LocationId "7fda0c0b-6a3d-48b8-854b-3fbe9dcf6513" -Notify
160+
```
161+
This example shows how to send an email to Teams phone users informing them about the new telephone number assignment.
153162

154163
## PARAMETERS
155164

@@ -280,6 +289,20 @@ Accept pipeline input: False
280289
Accept wildcard characters: False
281290
```
282291
292+
### -Notify
293+
Sends an email to Teams phone user about new telephone number assignment.
294+
295+
```yaml
296+
Type: Switch
297+
Parameter Sets: (Notify)
298+
Aliases:
299+
300+
Required: False
301+
Default value: None
302+
Accept pipeline input: False
303+
Accept wildcard characters: False
304+
```
305+
283306
### CommonParameters
284307
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).
285308

0 commit comments

Comments
 (0)