Microsoft a rendu disponible aujourd'hui une nouvelle version du module powershell pour Microsoft Teams en version 4.6
Date: 29 Juillet 2022
Release notes: https://docs.microsoft.com/fr-fr/MicrosoftTeams/teams-powershell-release-notes
Lien: https://www.powershellgallery.com/packages/MicrosoftTeams/4.6.0
Mise a jour:
- Releases AccountType parameter for the Get-CsOnlineUser cmdlet, which allows querying for specific type of users.
- AccountType attribute is added in the Get-CsOnlineUser output indicating the user type. Possible values for AccountType are: 'User' (user accounts), 'ResourceAccount' (app endpoints or resource accounts), 'Guest' (guest accounts) & 'Unknown' (user type not known).
- Fixes issues with Rank & Group parameters in Grant-Cs<PolicyName> cmdlets.
- Releases [Get|Set|New|Remove|Grant]-CsTeamsEventsPolicy Cmdlets.
- Removes all the deprecated & non-supported cmdlets. Details in Teams PowerShell supported versions.
- Releases modernized versions of [New|Get]-CsCloudCallDataConnection cmdlets.
- Releases [Get|Remove]-SharedWithTeam cmdlets.
- Releases Get-TeamAllChannel cmdlet.
- Releases Get-TeamIncomingChannel cmdlet.
- Releases Get-AssociatedTeam cmdlet.
- Releases Get-SharedWithTeamUser cmdlet.
- Supports TenantId optional parameter for the Add-TeamChannelUser cmdlet.
- Releases Get-TeamTargetingHierarchyStatus & [Remove|Set]-TeamTargetingHierarchy cmdlets.
Dans le cadre d'une installation initiale du module, la commande est la suivante
Install-Module -Name MicrosoftTeams
Mise a niveau:
Update-Module MicrosoftTeams
Get-InstalledModule