Microsoft has depreciated SkypeForBusiness Online PowerShell by June 2021 and from now onwards, Teams PowerShell Module is operational with all cmdlets supported.
This article explains how to install the Microsoft Teams PowerShell module using PowerShell Gallery.
The Microsoft Teams PowerShell module is supported on all Windows platforms.
Below are the steps to install and configure Teams PowerShell Module:
Requirements:
Microsoft Teams PowerShell module requires PowerShell 5.1 or higher on all platforms. Install the latest PowerShell module available for your operating system by following the below URL:
https://docs.microsoft.com/en-us/powershell/scripting/install/installing-powershell
To check your PowerShell version, run the following command from within a PowerShell session:
$PSVersionTable.PSVersion
We recommend that you use the Install-Module cmdlet to install the Microsoft Teams PowerShell module.
If PowerShell Gallery (PSGallery) isn't configured as a trusted repository for PowerShellGet, the first time you use the PSGallery you'll see the following message:
Answer Yes or Yes to All to continue with the installation.
Installing using the PowerShellGallery:
Microsoft Teams PowerShell module is currently supported for use with PowerShell 5.1 on Windows. Follow these steps to install the module:
- Update to Windows PowerShell Module 5.1 using the URL: https://docs.microsoft.com/en-us/powershell/scripting/windows-powershell/install/installing-windows-powershell#upgrading-existing-windows-powershell
- If you're on Windows 10 version 1607 or higher, you already have PowerShell 5.1 installed.
- Install .NET Framework 4.7.2 or later using the URL: https://docs.microsoft.com/en-us/dotnet/framework/install
- Run the following command to install the latest PowerShellGet:
Install-Module -Name PowerShellGet -Force -AllowClobber
- Install the Teams PowerShell Module.
Install-Module -Name MicrosoftTeams -Force -AllowClobber
Sign in:
To start working with Microsoft Teams PowerShell module, sign in with your Azure credentials.
Connect-MicrosoftTeams
Update Teams PowerShell Module:
Update-Module MicrosoftTeams
Comments
0 comments
Please sign in to leave a comment.