File tree Expand file tree Collapse file tree 3 files changed +63
-2
lines changed Expand file tree Collapse file tree 3 files changed +63
-2
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ New-CsTeamsMeetingPolicy [-Tenant <Guid>] [-Description <String>]
36
36
[-AllowTrackingInReport <Boolean>] [-LiveCaptionsEnabledType <String>] [-RecordingStorageMode <String>] [-RoomAttributeUserOverride <String>]
37
37
[-SpeakerAttributionMode <String>] [-WhoCanRegister <Object>] [-NewMeetingRecordingExpirationDays <Int32>]
38
38
[-MeetingInviteLanguages <String>] [-AllowNetworkConfigurationSettingsLookup <Boolean>] [-LiveStreamingMode <String>] [-AllowedStreamingMediaInput <String>]
39
- [-AllowWatermarkForScreenSharing <Boolean>] [-AllowWatermarkForCameraVideo <Boolean>] [-AllowLocalRecording]
39
+ [-AllowWatermarkForScreenSharing <Boolean>] [-AllowWatermarkForCameraVideo <Boolean>] [-AllowLocalRecording] [-ExternalMeetingJoin <String>]
40
40
[-InMemory] [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
41
41
```
42
42
@@ -1082,6 +1082,24 @@ Accept pipeline input: False
1082
1082
Accept wildcard characters : False
1083
1083
` ` `
1084
1084
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
+
1085
1103
## INPUTS
1086
1104
1087
1105
### None
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ Set-CsTeamsMeetingPolicy [-Tenant <Guid>] [-Description <String>]
39
39
[-AllowMeetingRegistration <Boolean>] [-AllowScreenContentDigitization <Boolean>] [-AllowTrackingInReport <Boolean>] [-RoomAttributeUserOverride <String>]
40
40
[-SpeakerAttributionMode <String>] [-WhoCanRegister <String>] [-ChannelRecordingDownload <String>] [-NewMeetingRecordingExpirationDays <Int32>]
41
41
[-MeetingInviteLanguages <String>] [-AllowNetworkConfigurationSettingsLookup <Boolean>] [-LiveStreamingMode <String>] [-AllowedStreamingMediaInput <String>]
42
- [-AllowWatermarkForScreenSharing <Boolean>] [-AllowWatermarkForCameraVideo <Boolean>] [-AllowLocalRecording <Boolean>]
42
+ [-AllowWatermarkForScreenSharing <Boolean>] [-AllowWatermarkForCameraVideo <Boolean>] [-AllowLocalRecording <Boolean>] [-ExternalMeetingJoin <String>]
43
43
[-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
44
44
```
45
45
@@ -1152,6 +1152,26 @@ Accept pipeline input: False
1152
1152
Accept wildcard characters : False
1153
1153
` ` `
1154
1154
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
+
1155
1175
## INPUTS
1156
1176
1157
1177
### System.Management.Automation.PSObject
Original file line number Diff line number Diff line change @@ -110,6 +110,29 @@ Set-CsPhoneNumberAssignment -PhoneNumber +12065551224 -LocationId $loc.LocationI
110
110
```
111
111
This example shows how to set the ___location on a phone number.
112
112
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
+
113
136
## PARAMETERS
114
137
115
138
### -AssignmentCategory
You can’t perform that action at this time.
0 commit comments