Skip to content

Commit c74b378

Browse files
committed
Merge branch 'main' into chrisda
2 parents 3260781 + 2ab2e27 commit c74b378

File tree

6 files changed

+11
-34
lines changed

6 files changed

+11
-34
lines changed

skype/skype-ps/skype/New-CsAutoAttendant.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -393,8 +393,8 @@ The VoiceId parameter represents the voice that is used to read text-to-speech (
393393
You can query the supported voices by using the `Get-CsAutoAttendantSupportedLanguage` cmdlet. You can determine the default voice for a language by issuing the following command:
394394

395395
```
396-
$language = Get-CsAutoAttendantSupportedLanguage -Identity "en-US"`
397-
$defaultVoice = $language.Voices[0].Gender
396+
$language = Get-CsAutoAttendantSupportedLanguage -Identity "en-US"
397+
$defaultVoice = $language.Voices[0].Id
398398
```
399399

400400
```yaml

skype/skype-ps/skype/New-CsTeamsMeetingPolicy.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -954,8 +954,6 @@ Specifies the number of days before meeting recordings will expire and move to t
954954
955955
NOTE: You may opt to set Meeting Recordings to never expire by entering the value -1.
956956
957-
NOTE: This parameter is available to be set, but will not be effective until this feature gets general availability. Please refer to the [roadmap (Feature ID: 84580)](https://www.microsoft.com/microsoft-365/roadmap?filters=&searchterms=84580) for more information on its delivery date.
958-
959957
```yaml
960958
Type: Int32
961959
Parameter Sets: (All)

skype/skype-ps/skype/Set-CsTeamsMeetingPolicy.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1003,8 +1003,6 @@ Specifies the number of days before meeting recordings will expire and move to t
10031003
10041004
NOTE: You may opt to set Meeting Recordings to never expire by entering the value -1.
10051005
1006-
NOTE: This parameter is available to be set, but will not be effective until this feature gets general availability. Please refer to the [roadmap (Feature ID: 84580)](https://www.microsoft.com/microsoft-365/roadmap?filters=&searchterms=84580) for more information on its delivery date.
1007-
10081006
```yaml
10091007
Type: Int32
10101008
Parameter Sets: (All)

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

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,7 @@ This example displays information about the Direct Routing phone number +1 (206)
7979
```powershell
8080
Get-CsPhoneNumberAssignment -CapabilitiesContain "VoiceApplicationAssignment,ConferenceAssignment"
8181
```
82-
This example returns all phone numbers that have both the capability VoiceApplicationAssignment and the capability ConferenceAssignment assigned, but phone numbers that have
83-
only one of these capabilities assigned won't be returned.
82+
This example returns all phone numbers that have both the capability VoiceApplicationAssignment and the capability ConferenceAssignment assigned, but phone numbers that have only one of these capabilities assigned won't be returned.
8483

8584
### Example 4
8685
```powershell
@@ -106,7 +105,6 @@ Get-CsPhoneNumberAssignment -TelephoneNumberContain "524"
106105
```
107106
This example returns information about all phone numbers that contain the digits 524, including the phone number with extension 524 used in example 2.
108107

109-
110108
## PARAMETERS
111109

112110
### -ActivationState
@@ -127,7 +125,6 @@ Accept wildcard characters: False
127125
### -AssignedPstnTargetId
128126
Filters the returned results based on the user or resource account ID the phone number is assigned to. Supported values are UserPrincipalName, SIP address, and ObjectId.
129127
130-
131128
```yaml
132129
Type: System.String
133130
Parameter Sets: (All)
@@ -141,10 +138,7 @@ Accept wildcard characters: False
141138
```
142139
143140
### -CapabilitiesContain
144-
Filters the returned results based on the capabilities assigned to the phone number. You can specify one or more capabilities delimited by a comma. Supported capabilities
145-
146-
are ConferenceAssignment, VoiceApplicationAssignment, UserAssignment, and OCMobile.
147-
141+
Filters the returned results based on the capabilities assigned to the phone number. You can specify one or more capabilities delimited by a comma. Supported capabilities are ConferenceAssignment, VoiceApplicationAssignment, UserAssignment, and TeamsPhoneMobile.
148142
149143
If you specify only one capability, you will get all phone numbers returned that have that capability assigned. If you specify a comma separated list for instance like
150144
ConferenceAssignment, VoiceApplicationAssignment you will get all phone numbers that have both capabilities assigned, but you won't get phone numbers that have only
@@ -210,7 +204,6 @@ Accept wildcard characters: False
210204
### -NumberType
211205
Filters the returned results based on the number type. Supported values are DirectRouting, CallingPlan, and OperatorConnect.
212206
213-
214207
```yaml
215208
Type: System.String
216209
Parameter Sets: (All)
@@ -226,7 +219,6 @@ Accept wildcard characters: False
226219
### -PstnAssignmentStatus
227220
Filters the returned results based on the assignment status. Support values are Unassigned, UserAssigned, ConferenceAssigned, VoiceApplicationAssigned, and ThirdPartyAppAssigned.
228221
229-
230222
```yaml
231223
Type: System.String
232224
Parameter Sets: (All)
@@ -242,7 +234,6 @@ Accept wildcard characters: False
242234
### -Skip
243235
Skips the first X returned results and the default value is 0.
244236
245-
246237
```yaml
247238
Type: System.Int32
248239
Parameter Sets: (All)
@@ -379,7 +370,6 @@ The ISO country code assigned to the phone number.
379370
### IsoSubDivision
380371
The subdivision within the country assigned to the phone number, for example, the state for US phone numbers.
381372
382-
383373
### LocationId
384374
The ID of the Location assigned to the phone number.
385375

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

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,7 @@ This example assigns the Microsoft Calling Plan phone number +1 (206) 555-1234 t
5555
$loc=Get-CsOnlineLisLocation -City Vancouver
5656
Set-CsPhoneNumberAssignment -Identity [email protected] -PhoneNumber +12065551224 -PhoneNumberType CallingPlan -LocationId $loc.LocationId
5757
```
58-
This example finds the emergency location defined for the corporate location Vancouver and assigns the Microsoft Calling Plan phone number +1 (206) 555-1224 and location
59-
to the user [email protected].
58+
This example finds the emergency location defined for the corporate location Vancouver and assigns the Microsoft Calling Plan phone number +1 (206) 555-1224 and location to the user [email protected].
6059

6160
### Example 3
6261
```powershell
@@ -84,14 +83,9 @@ This example assigns the Direct Routing phone number +1 (425) 555-1000;ext=100 t
8483

8584
### Example 7
8685
```powershell
87-
$pn=Set-CsPhoneNumberAssignment -Identity [email protected] -PhoneNumber "+14255551000;ext=100" -PhoneNumberType DirectRouting
88-
$pn
89-
Code Message
90-
---- -------
91-
BadRequest Telephone Number '+14255551000;ext=100' has already been assigned to another user
86+
Try { Set-CsPhoneNumberAssignment -Identity [email protected] -PhoneNumber "+14255551000;ext=100" -PhoneNumberType DirectRouting -ErrorAction Stop } Catch { Write-Host An error occured }
9287
```
93-
In this example the assignment cmdlet fails, because the phone number "+14255551000;ext=100" has already been assigned to another user.
94-
88+
This example shows how to use Try/Catch and ErrorAction to perform error checking on the assignment cmdlet failing.
9589

9690
## PARAMETERS
9791

@@ -145,8 +139,7 @@ Accept wildcard characters: False
145139
```
146140
147141
### -PhoneNumber
148-
The phone number to assign to the user or resource account. Supports E.164 format like +12065551234 and non-E.164 format like 12065551234. The phone number can not have
149-
"tel:" prefixed.
142+
The phone number to assign to the user or resource account. Supports E.164 format like +12065551234 and non-E.164 format like 12065551234. The phone number can not have "tel:" prefixed.
150143
151144
We support Direct Routing numbers with extensions using the formats +1206555000;ext=1234 or 1206555000;ext=1234 assigned to a user, but such phone numbers are
152145
not supported to be assigned to a resource account.
@@ -165,8 +158,7 @@ Accept wildcard characters: False
165158
```
166159
167160
### -PhoneNumberType
168-
The type of phone number to assign to the user or resource account. The supported values are DirectRouting, CallingPlan, and OperatorConnect. When you acquire a phone number
169-
you will typically know which type it is.
161+
The type of phone number to assign to the user or resource account. The supported values are DirectRouting, CallingPlan, and OperatorConnect. When you acquire a phone number you will typically know which type it is.
170162
171163
```yaml
172164
Type: System.String
@@ -195,8 +187,7 @@ The cmdlet is available in Teams PowerShell module 3.0.0 or later.
195187
196188
The cmdlet is only available in commercial and GCC cloud instances.
197189
198-
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
199-
number. You will have to clear the phone number from the on-premises Active Directory and let that change sync into Microsoft 365 first.
190+
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 number. You will have to clear the phone number from the on-premises Active Directory and let that change sync into Microsoft 365 first.
200191
201192
The previous command for assigning phone numbers to users Set-CsUser had the parameter HostedVoiceMail. Setting HostedVoiceMail for Microsoft Teams users is no longer
202193
necessary and that is why the parameter is not available on Set-CsPhoneNumberAssignment.

whiteboard/whiteboard-ps/whiteboard/whiteboard.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ title: Microsoft Whiteboard
88

99
## Description
1010

11-
The following cmdlet references are for Microsoft Whiteboard. See [Overview](https://learn.microsoft.com/powershell/whiteboard/overview) for details on installing the module. The module can only be run by users with Global Administrator or SharePoint Administrator roles.
11+
The following cmdlet references are for Microsoft Whiteboard. See [Overview](https://learn.microsoft.com/powershell/whiteboard/overview) for details on installing the module. The module can only be run by users with Global Administrator or SharePoint Administrator roles. The module described here is for Whiteboard content stored in Azure.
1212

1313
## Microsoft Whiteboard Admin cmdlets
1414

0 commit comments

Comments
 (0)