Overview of the new Microsoft Teams PowerShell Module - part 3

Microsoft Teams Powershell Module Overview - Part 3

This is my 3rd and final post on MicrosoftTeam Powershell Module, in this post we are going to review the following CMDs, if you wish to check out my first two posts on the module please visit the link below.

Overview of the new Microsoft Teams PowerShell Module - part 1

Overview of the new Microsoft Teams PowerShell Module - part 2

POWERSHELL
New-Team
POWERSHELL
New-TeamChannel
POWERSHELL
Add-TeamUser
POWERSHELL
Remove-TeamChannel
POWERSHELL
Remove-TeamUser
POWERSHELL
Remove-Team

Let's begin,

POWERSHELL
New-Team#

Lets create a new team for a new project "New Project Team"

POWERSHELL
New-Team -DisplayName "New Project Team" -Description "Team for the new project" -Alias NEWPTeam -AccessType Private

Note: Once you run this command a GroupID will be displayed make a not of it.

POWERSHELL
New-TeamChannel#

Lets setup a new Channel "Project Alfa" ,

POWERSHELL
New-TeamChannel -GroupId 255d4a49-5076-42c8-a109-45252a7244a7 -DisplayName "Project Alfa"
POWERSHELL
 Add-TeamUser#

Let's add the new user to the team.

POWERSHELL
Add-TeamUser -GroupId 255d4a49-5076-42c8-a109-45252a7244a7 -User sunil.chauhan@domain.com

Now that we have setup a new team and added a new Channel and then added a new user to the Team, Lets now review he Remove commands.

POWERSHELL
Remove-TeamChannel#

Let's remove the Team Channel. "Project Alfa"

POWERSHELL
Remove-TeamChannel -GroupId 255d4a49-5076-42c8-a109-45252a7244a7 -DisplayName "Project Alfa"
POWERSHELL
Remove-TeamUser#

Let's remove the member from the team.

POWERSHELL
Remove-TeamUser -GroupId 255d4a49-5076-42c8-a109-45252a7244a7 -User sunil.chauhan@domain.com
POWERSHELL
Remove-Team#

Finally let's use remove the team.

POWERSHELL
Remove-Team -GroupId 255d4a49-5076-42c8-a109-45252a7244a7

This completes my final post on the "MicrosoftTeam" Powershell Module where we reviewed rest of the CMDs from the Module. feel free to subscribe to get the frequent update.