Skip to content

Commit 6db500f

Browse files
committed
Merge branch 'main' into chrisda
2 parents e59b94f + 3ae928d commit 6db500f

File tree

3 files changed

+63
-2
lines changed

3 files changed

+63
-2
lines changed

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

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ New-CsTeamsMeetingPolicy [-Tenant <Guid>] [-Description <String>]
3636
[-AllowTrackingInReport <Boolean>] [-LiveCaptionsEnabledType <String>] [-RecordingStorageMode <String>] [-RoomAttributeUserOverride <String>]
3737
[-SpeakerAttributionMode <String>] [-WhoCanRegister <Object>] [-NewMeetingRecordingExpirationDays <Int32>]
3838
[-MeetingInviteLanguages <String>] [-AllowNetworkConfigurationSettingsLookup <Boolean>] [-LiveStreamingMode <String>] [-AllowedStreamingMediaInput <String>]
39-
[-AllowWatermarkForScreenSharing <Boolean>] [-AllowWatermarkForCameraVideo <Boolean>] [-AllowLocalRecording]
39+
[-AllowWatermarkForScreenSharing <Boolean>] [-AllowWatermarkForCameraVideo <Boolean>] [-AllowLocalRecording] [-ExternalMeetingJoin <String>]
4040
[-InMemory] [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
4141
```
4242

@@ -1082,6 +1082,24 @@ Accept pipeline input: False
10821082
Accept wildcard characters: False
10831083
```
10841084
1085+
### -ExternalMeetingJoin
1086+
Possible values are:
1087+
- EnabledForAnyone
1088+
- EnabledForTrustedOrgs
1089+
- Disabled
1090+
1091+
```yaml
1092+
Type: String
1093+
Parameter Sets: (All)
1094+
Aliases:
1095+
1096+
Required: False
1097+
Position: Named
1098+
Default value: EnabledForAnyone
1099+
Accept pipeline input: False
1100+
Accept wildcard characters: False
1101+
```
1102+
10851103
## INPUTS
10861104
10871105
### None

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

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Set-CsTeamsMeetingPolicy [-Tenant <Guid>] [-Description <String>]
3939
[-AllowMeetingRegistration <Boolean>] [-AllowScreenContentDigitization <Boolean>] [-AllowTrackingInReport <Boolean>] [-RoomAttributeUserOverride <String>]
4040
[-SpeakerAttributionMode <String>] [-WhoCanRegister <String>] [-ChannelRecordingDownload <String>] [-NewMeetingRecordingExpirationDays <Int32>]
4141
[-MeetingInviteLanguages <String>] [-AllowNetworkConfigurationSettingsLookup <Boolean>] [-LiveStreamingMode <String>] [-AllowedStreamingMediaInput <String>]
42-
[-AllowWatermarkForScreenSharing <Boolean>] [-AllowWatermarkForCameraVideo <Boolean>] [-AllowLocalRecording <Boolean>]
42+
[-AllowWatermarkForScreenSharing <Boolean>] [-AllowWatermarkForCameraVideo <Boolean>] [-AllowLocalRecording <Boolean>] [-ExternalMeetingJoin <String>]
4343
[-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
4444
```
4545

@@ -1152,6 +1152,26 @@ Accept pipeline input: False
11521152
Accept wildcard characters: False
11531153
```
11541154
1155+
### -ExternalMeetingJoin
1156+
Determines whether the user is allowed to join external meetings.
1157+
1158+
Possible values are:
1159+
- EnabledForAnyone
1160+
- EnabledForTrustedOrgs
1161+
- Disabled
1162+
1163+
```yaml
1164+
Type: String
1165+
Parameter Sets: (All)
1166+
Aliases:
1167+
1168+
Required: False
1169+
Position: Named
1170+
Default value: EnabledForAnyone
1171+
Accept pipeline input: False
1172+
Accept wildcard characters: False
1173+
```
1174+
11551175
## INPUTS
11561176
11571177
### System.Management.Automation.PSObject

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

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,29 @@ Set-CsPhoneNumberAssignment -PhoneNumber +12065551224 -LocationId $loc.LocationI
110110
```
111111
This example shows how to set the ___location on a phone number.
112112

113+
### Example 10
114+
```powershell
115+
$OldLocationId = "7fda0c0b-6a3d-48b8-854b-3fbe9dcf6513"
116+
$NewLocationId = "951fac72-955e-4734-ab74-cc4c0f761c0b"
117+
# Get all phone numbers in old ___location
118+
$pns = Get-CsPhoneNumberAssignment -LocationId $OldLocationId
119+
Write-Host $pns.count numbers found in old ___location $OldLocationId
120+
# Move all those phone numbers to the new ___location
121+
foreach ($pn in $pns) {
122+
Try {
123+
Set-CsPhoneNumberAssignment -PhoneNumber $pn.TelephoneNumber -LocationId $NewLocationId -ErrorAction Stop
124+
Write-Host $pn.TelephoneNumber was updated to have ___location $NewLocationId
125+
}
126+
Catch {
127+
Write-Host Could not update $pn.TelephoneNumber with ___location $NewLocationId
128+
}
129+
}
130+
Write-Host (Get-CsPhoneNumberAssignment -LocationId $OldLocationId).Count numbers found in old ___location $OldLocationId
131+
Write-Host (Get-CsPhoneNumberAssignment -LocationId $NewLocationId).Count numbers found in new ___location $NewLocationId
132+
```
133+
This Example shows how to update the LocationID from an old ___location to a new ___location for a set of phone numbers.
134+
135+
113136
## PARAMETERS
114137

115138
### -AssignmentCategory

0 commit comments

Comments
 (0)