Teams PowerShell download

Microsoft Teams PowerShell


0.9.0


Teams Cmdlets module

Inspect

PS> Save-Module -Name MicrosoftTeams -Path <path>  

Install:

Open a Windows PowerShell console.
Run the Install-Module cmdlet as shown here.

PS> Install-Module -Name MicrosoftTeams -RequiredVersion <version>


MS Teams cmdlets:

Add-TeamUser
Get-Team
Get-TeamChannel
Get-TeamFunSettings
Get-TeamGuestSettings
Get-TeamMemberSettings
Get-TeamMessagingSettings
Get-TeamHelp
Get-TeamUser
New-TeamChannel
New-Team
Remove-Team
Remove-TeamChannel
Remove-TeamUser
Set-TeamFunSettings
Set-TeamGuestSettings
Set-TeamMemberSettings
Set-TeamMessagingSettings
Set-Team
Set-TeamChannel
Set-TeamPicture
Connect-MicrosoftTeams
 


Sample:

Connect-MicrosoftTeams -AccountId you@domain.com
$group = New-Team -alias "ProductA" -displayname "Product A Planning" -AccessType "private"
Add-TeamUser -GroupId $group.GroupId -User "user01@domain.com"
Add-TeamUser -GroupId $group.GroupId -User "user02@domain.com"
Add-TeamUser -GroupId $group.GroupId -User "user03@domain.com"
New-TeamChannel -GroupId $group.GroupId -DisplayName "Sales"
New-TeamChannel -GroupId $group.GroupId -DisplayName "Marketing"
New-TeamChannel -GroupId $group.GroupId -DisplayName "Service"
Set-TeamFunSettings -GroupId $group.GroupId -AllowCustomMemes true
Set-TeamPicture -GroupId $group.GroupId -ImagePath C:\Users\you\Downloads\download.png

Comments

Post a Comment

Popular posts from this blog

Skype for Business, Lync and Exchange Web Services (EWS) and different DNS Domains- Exchange crawling e.g. for presence

Lync 2013 Client, Desktop Sharing shows blank screen (Windows 7, Windows 8, Windows 8.1)

File Share Perfomance for Skype for Business (slow conference join, slow address book)