Skip to content

Update MicrosoftTeams Powershell cmdlets documentation #12988

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Aug 7, 2025
22 changes: 22 additions & 0 deletions teams/teams-ps/MicrosoftTeams/New-CsTeamsCallingPolicy.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ New-CsTeamsCallingPolicy [-Identity] <string>
[-SpamFilteringEnabledType <string>]
[-VoiceSimulationInInterpreter <string>]
[-RealTimeText <string>]
[-ExplicitRecordingConsent <string>]
[-WhatIf]
[<CommonParameters>]
```
Expand Down Expand Up @@ -752,6 +753,27 @@ Accept pipeline input: False
Accept wildcard characters: False
```

### -ExplicitRecordingConsent

This setting controls whether users must provide or obtain explicit consent before recording a 1:1 PSTN or Teams call. When enabled, both parties will receive a notification, and consent must be given before recording starts.

Possible values:

- **Enabled**: Requires users to give and obtain explicit consent before starting a call recording.
- **Disabled**: Users are not required to obtain explicit consent before recording starts.

```yaml
Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: Disabled
Accept pipeline input: False
Accept wildcard characters: False
```

### -WhatIf

> Applicable: Microsoft Teams
Expand Down
41 changes: 40 additions & 1 deletion teams/teams-ps/MicrosoftTeams/New-CsTeamsEventsPolicy.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ This cmdlet allows you to create a new TeamsEventsPolicy instance and set its pr
New-CsTeamsEventsPolicy [-Identity] <String> [-AllowWebinars <String>] [-AllowTownhalls <String>] [-ImmersiveEvents <String>] [-AllowEmailEditing <String>] [-Description <String>]
[-TownhallEventAttendeeAccess <String>] [-RecordingForTownhall <String>] [-RecordingForWebinar <String>]
[-TranscriptionForTownhall <String>] [-TranscriptionForWebinar <String>] [-AllowEventIntegrations <Boolean>] [-TownhallChatExperience <String>]
[-UseMicrosoftECDN <String>] [-EventAccessType <String>] [-BroadcastPremiumApps <String>] [-WhatIf] [-Confirm] [<CommonParameters>]
[-UseMicrosoftECDN <String>] [-EventAccessType <String>] [-BroadcastPremiumApps <String>] [-MaxResolutionForTownhall <String>] [-HighBitrateForTownhall <String>] [-WhatIf] [-Confirm] [<CommonParameters>]
```

## DESCRIPTION
Expand Down Expand Up @@ -377,6 +377,45 @@ Accept pipeline input: False
Accept wildcard characters: False
```

### -MaxResolutionForTownhall
This policy sets the maximum video resolution supported in Town hall events.

Possible values are:
- **Max720p**: Town halls support video resolution up to 720p.
- **Max1080p**: Town halls support video resolution up to 1080p.

```yaml
Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: Max1080p
Accept pipeline input: False
Accept wildcard characters: False
```

### -HighBitrateForTownhall
This policy controls whether high-bitrate streaming is enabled for Town hall events.

Possible values are:
- **Enabled**: Enables high bitrate for Town hall events.
- **Disabled**: Disables high bitrate for Town hall events.

```yaml
Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: Disabled
Accept pipeline input: False
Accept wildcard characters: False
```


### -WhatIf
The WhatIf switch does not work with this cmdlet.
The cmdlet is not run.
Expand Down
40 changes: 40 additions & 0 deletions teams/teams-ps/MicrosoftTeams/New-CsTeamsMessagingPolicy.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ New-CsTeamsMessagingPolicy [[-Identity] <XdsIdentity>]
[-ReadReceiptsEnabledType <String>]
[-Tenant <Guid>]
[-UsersCanDeleteBotMessages <Boolean>]
[-AutoShareFilesInExternalChats <String>]
[-UseB2BInvitesToAddExternalUsers <String>]
[<CommonParameters>]
[-WhatIf]
```
Expand Down Expand Up @@ -734,6 +736,44 @@ Accept pipeline input: False
Accept wildcard characters: False
```

### -UseB2BInvitesToAddExternalUsers

Indicates whether B2B invites should be used to add external users when necessary.

Possible values:

- `Enabled`: External users will be added using B2B invites.
- `Disabled`: External users will not be added using B2B invites.

```yaml
Type: System.String
Parameter Sets: (All)
Required: False
Position: Named
Default value: Disabled
Accept pipeline input: False
Accept wildcard characters: False
```

### -AutoShareFilesInExternalChats

Determines whether files are automatically shared in external chats.

Possible values:

- `Enabled`: Files are automatically shared in external chats.
- `Disabled`: Files are not automatically shared in external chats.

```yaml
Type: System.String
Parameter Sets: (All)
Required: False
Position: Named
Default value: Disabled
Accept pipeline input: False
Accept wildcard characters: False
```

### -WhatIf
Shows what would happen if the cmdlet runs.
The cmdlet is not run.
Expand Down
22 changes: 22 additions & 0 deletions teams/teams-ps/MicrosoftTeams/Set-CsTeamsCallingPolicy.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ Set-CsTeamsCallingPolicy [-Identity] <string>
[-SpamFilteringEnabledType <string>]
[-VoiceSimulationInInterpreter <string>]
[-RealTimeText <string>]
[-ExplicitRecordingConsent <string>]
[-WhatIf]
[<CommonParameters>]
```
Expand Down Expand Up @@ -754,6 +755,27 @@ Accept pipeline input: False
Accept wildcard characters: False
```

### -ExplicitRecordingConsent

This setting controls whether users must provide or obtain explicit consent before recording a 1:1 PSTN or Teams call. When enabled, both parties will receive a notification, and consent must be given before recording starts.

Possible values:

- **Enabled**: Requires users to give and obtain explicit consent before starting a call recording.
- **Disabled**: Users are not required to obtain explicit consent before recording starts.

```yaml
Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: Disabled
Accept pipeline input: False
Accept wildcard characters: False
```

### -WhatIf

> Applicable: Microsoft Teams
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ This cmdlet is used to manage the organization-wide education configuration for

```powershell
Set-CsTeamsEducationConfiguration [-ParentGuardianPreferredContactMethod <String>]
[-UpdateParentInformation <String>] [-WhatIf] [-Confirm] [<CommonParameters>]
[-UpdateParentInformation <String>] [-EduGenerativeAIEnhancements <String>] [-Identity <String>]
[-WhatIf] [-Confirm] [<CommonParameters>]
```

## DESCRIPTION
Expand Down Expand Up @@ -90,6 +91,39 @@ Accept pipeline input: False
Accept wildcard characters: False
```

### -EduGenerativeAIEnhancements

Controls whether generative AI enhancements are enabled in the education environment.

Possible values:

- `Enabled`: Generative AI features are available to educators and students.
- `Disabled`: Generative AI features are disabled across the tenant.

```yaml
Type: System.String
Parameter Sets: (All)
Required: False
Position: Named
Default value: Enabled
Accept pipeline input: False
Accept wildcard characters: False
```

### -Identity

Specifies the identity of the education configuration to set.

```yaml
Type: System.String
Parameter Sets: (All)
Required: False
Position: Named
Default value: Global
Accept pipeline input: False
Accept wildcard characters: False
```

### CommonParameters
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).

Expand Down
43 changes: 40 additions & 3 deletions teams/teams-ps/MicrosoftTeams/Set-CsTeamsEventsPolicy.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,8 @@ Set-CsTeamsEventsPolicy [-AllowWebinars <String>] [-EventAccessType <String>] [-
[-TownhallEventAttendeeAccess <String>] [-AllowEmailEditing <String>] [-AllowedQuestionTypesInRegistrationForm <String>]
[-AllowEventIntegrations <Boolean>] [-AllowedWebinarTypesForRecordingPublish <String>]
[-AllowedTownhallTypesForRecordingPublish <String>] [-TownhallChatExperience <String>] [-Description <String>]
[-RecordingForTownhall <String>] [-RecordingForWebinar <String>]
[-TranscriptionForTownhall <String>] [-TranscriptionForWebinar <String>]
[-UseMicrosoftECDN <Boolean>] [-BroadcastPremiumApps <String>]
[-RecordingForTownhall <String>] [-RecordingForWebinar <String>] [-TranscriptionForTownhall <String>] [-TranscriptionForWebinar <String>]
[-UseMicrosoftECDN <Boolean>] [-BroadcastPremiumApps <String>] [-MaxResolutionForTownhall <String>] [-HighBitrateForTownhall <String>]
```

## DESCRIPTION
Expand Down Expand Up @@ -439,6 +438,44 @@ Accept pipeline input: False
Accept wildcard characters: False
```

### -MaxResolutionForTownhall
This policy sets the maximum video resolution supported in Town hall events.

Possible values are:
- **Max720p**: Town halls support video resolution up to 720p.
- **Max1080p**: Town halls support video resolution up to 1080p.

```yaml
Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: Max1080p
Accept pipeline input: False
Accept wildcard characters: False
```

### -HighBitrateForTownhall
This policy controls whether high-bitrate streaming is enabled for Town hall events.

Possible values are:
- **Enabled**: Enables high bitrate for Town hall events.
- **Disabled**: Disables high bitrate for Town hall events.

```yaml
Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: Disabled
Accept pipeline input: False
Accept wildcard characters: False
```

### -WhatIf
The WhatIf switch does not work with this cmdlet.
The cmdlet is not run.
Expand Down
42 changes: 42 additions & 0 deletions teams/teams-ps/MicrosoftTeams/Set-CsTeamsMessagingPolicy.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ Set-CsTeamsMessagingPolicy [[-Identity] <XdsIdentity>]
[-ReadReceiptsEnabledType <String>]
[-Tenant <Guid>]
[-UsersCanDeleteBotMessages <Boolean>]
[-AutoShareFilesInExternalChats <String>]
[-UseB2BInvitesToAddExternalUsers <String>]
[-WhatIf]
[<CommonParameters>]
```
Expand Down Expand Up @@ -104,6 +106,8 @@ Set-CsTeamsMessagingPolicy [-Instance <PSObject>]
[-ReadReceiptsEnabledType <String>]
[-Tenant <Guid>]
[-UsersCanDeleteBotMessages <Boolean>]
[-AutoShareFilesInExternalChats <String>]
[-UseB2BInvitesToAddExternalUsers <String>]
[-WhatIf]
[<CommonParameters>]
```
Expand Down Expand Up @@ -788,6 +792,44 @@ Accept pipeline input: False
Accept wildcard characters: False
```

### -UseB2BInvitesToAddExternalUsers

Indicates whether B2B invites should be used to add external users when necessary.

Possible values:

- `Enabled`: External users will be added using B2B invites.
- `Disabled`: External users will not be added using B2B invites.

```yaml
Type: System.String
Parameter Sets: (All)
Required: False
Position: Named
Default value: Disabled
Accept pipeline input: False
Accept wildcard characters: False
```

### -AutoShareFilesInExternalChats

Determines whether files are automatically shared in external chats.

Possible values:

- `Enabled`: Files are automatically shared in external chats.
- `Disabled`: Files are not automatically shared in external chats.

```yaml
Type: System.String
Parameter Sets: (All)
Required: False
Position: Named
Default value: Disabled
Accept pipeline input: False
Accept wildcard characters: False
```

### -WhatIf
Shows what would happen if the cmdlet runs.
The cmdlet is not run.
Expand Down