Connect to Microsoft Teams PowerShell
Microsoft Teams PowerShell Modunle
You need install Microsoft Teams module only once. In the next time, run to connect to Microsoft Teams PowerShell.
##Install Modunle and Connect to Microsoft Teams
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope LocalMachine -Force;
Install-PackageProvider -Name NuGet -Force;
Set-PSRepository -Name "PSGallery" -InstallationPolicy Trusted;
Install-Module -Name MicrosoftTeams;
Update-Module -Name MicrosoftTeams;
Connect-MicrosoftTeams
Import-Csv "C:\Temp\Teams.csv" |
ForEach {New-Team -DisplayName $_.DisplayName -Owner $_.Owner -Description $_.Description -Visibility $_.Visibility}
5/5 - (2 votes)