Skip to content

Commit 013ff84

Browse files
authored
Merge pull request MicrosoftDocs#9415 from JensTrier/UpdateCloudSupportForPhone
Update cloud support for phone number assignment cmdlets
2 parents c2e360c + 897ac21 commit 013ff84

File tree

3 files changed

+16
-5
lines changed

3 files changed

+16
-5
lines changed

teams/teams-ps/teams/Get-CsPhoneNumberAssignment.md

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@ schema: 2.0.0
1515
## SYNOPSIS
1616
This cmdlet displays information about one or more phone numbers.
1717

18-
> [!NOTE]
19-
> **Preview** The use of this cmdlet is in Public Preview.
20-
2118
## SYNTAX
2219

2320
### Assignment (Default)
@@ -103,6 +100,13 @@ Get-CsPhoneNumberAssignment -ActivationState Activated -CapabilitiesContain Voic
103100
```
104101
This example returns information about all activated phone numbers with the capability VoiceApplicationAssignment that are not assigned.
105102

103+
### Example 7
104+
```powershell
105+
Get-CsPhoneNumberAssignment -TelephoneNumberContain "524"
106+
```
107+
This example returns information about all phone numbers that contain the digits 524, including the phone number with extension 524 used in example 2.
108+
109+
106110
## PARAMETERS
107111

108112
### -ActivationState
@@ -266,8 +270,10 @@ Accept pipeline input: False
266270
Accept wildcard characters: False
267271
```
268272
269-
### -TelephoneNumberContains
270-
Filters the returned results based on substring match for the specified string on TelephoneNumber. For supported formats see TelephoneNumber.
273+
### -TelephoneNumberContain
274+
275+
Filters the returned results based on substring match for the specified string on TelephoneNumber. To search for a number with an extension, you need to specify
276+
the digits of the extension. For supported formats see TelephoneNumber.
271277
272278
```yaml
273279
Type: System.String
@@ -398,6 +404,8 @@ The object returned is of type SkypeTelephoneNumberMgmtCmdletAcquiredTelephoneNu
398404
## NOTES
399405
The cmdlet is available in Teams PowerShell module 4.0.0 or later.
400406
407+
The cmdlet is only available in commercial and GCC cloud instances.
408+
401409
## RELATED LINKS
402410
[Remove-CsPhoneNumberAssignment](Remove-CsPhoneNumberAssignment.md)
403411

teams/teams-ps/teams/Remove-CsPhoneNumberAssignment.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
131131
## NOTES
132132
The cmdlet is available in Teams PowerShell module 3.0.0 or later.
133133
134+
The cmdlet is only available in commercial and GCC cloud instances.
134135
135136
## RELATED LINKS
136137
[Set-CsPhoneNumberAssignment](Set-CsPhoneNumberAssignment.md)

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,8 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
198198
## NOTES
199199
The cmdlet is available in Teams PowerShell module 3.0.0 or later.
200200
201+
The cmdlet is only available in commercial and GCC cloud instances.
202+
201203
If a user or resource account has a phone number set in Active Directory on-premises and synched into Microsoft 365, you can't use Set-CsPhoneNumberAssignment to set the phone
202204
number. You will have to clear the phone number from the on-premises Active Directory and let that change sync into Microsoft 365 first.
203205

0 commit comments

Comments
 (0)