From the course: PowerShell for Microsoft 365 Administration

Unlock the full course today

Join today to access over 24,400 courses taught by industry experts.

How to manage channels

How to manage channels

- [Instructor] Now when you're using Microsoft teams, one of the features that's quite common is channels within the teams, public or private channels. And depending on the types of channel that you create will determine the functionality that's available to it. So for example, if you are using a private channel, then of course, you're trying to restrict who can be in that specific channel. Now we can manage those directly with PowerShell too. The first thing that we need to do though is, be able to retrieve the actual team that we kind of want to create. So let me first go into here and we should already have our team object. So team dot display name. Okay, so that's a previous one, which means I need to obviously clear that. So I'm going to say team name equals PowerShell team and we'll just say, get team, display name, let me just make sure this works and dollar team name like so. Okay, so it is called PowerShell team.…

Contents