Teams PowerShell's

 Those are the main PS I use for Teams lab. I typically use PS ISE.


##AAD

Install-Module -Name AzureAD

Connect-AzureAD


##Exchange

Install-Module -Name ExchangeOnlineManagement

Import-Module ExchangeOnlineManagement

Connect-ExchangeOnline -UserPrincipalName user@dom.pt -ShowProgress $true

Connect-ExchangeOnline


##Permitir receber convites de fora

Set-CalendarProcessing user@dom.pt -ProcessExternalMeetingMessages $True -DeleteComments $False -DeleteSubject $False -AllowConflicts $true

Get-Mailbox | Where {$_.RoomMailboxAccountEnabled -eq $True} | Format-Table Name, UserPrincipalName


##Online connect

Install-Module MSOnline -Force

Connect-MsolService


##Install Teams module

Set-ExecutionPolicy unrestricted

Set-ExecutionPolicy RemoteSigned

Install-Module -Name PowerShellGet -Force -AllowClobber

Install-Module -Name MicrosoftTeams -Force -AllowClobber

Update-Module MicrosoftTeams

Uninstall-Module MicrosoftTeams

Connect-MicrosoftTeams

Disconnect-MicrosoftTeams

Get-InstalledModule

Comments

Popular posts from this blog

INAV OSD on DJI Goggle V2 and Cadxx Vista Air Unit