[Autogenerated] Now that we have seen the
theory, let's go to the lab environment
and learn how to find SharePoint. Sykes
associated with teams, private channels.
We are now in the lab environment and let
me open up the PowerShell. I see over here
where I have already connected to
SharePoint online using the SharePoint
online PowerShell module as well as to
Microsoft Eames. Now, first of all, as we
have discussed in the slides, all of the
teams private channels have a specific
template, which is team channel pound
zero. This allows us to super easily used
the get SP Oh, site partial cmdlet IFilter
on that template and quickly find all of
the Sykes in our tenant that have that
template. So, really, all of the private
channel sharpen Sykes in our tenant. Now,
if we want to get a bit more advanced and
let's say we want to take the I T. Systems
refresh team, which if I go and look in
the team's interface, I have one private
channel. Let's say we want to find all of
the private channel SharePoint sites from
that specific team. Let me clean this up,
and the first thing I will do is I will
run to get team partial cmdlet and save
that team inside of a variable, cold team.
After that, I will get all of my shirt
point Sykes with the team Channel pound
zero template. After that, What I will say
is that for each psyched that I got
earlier, look in those and look for the
related group IDE parameter of that site.
And if it matches the group ID, it means
that it's a private channel site and it's
part of that group. And if that is the
case, show me that you are well, so let me
run this for each loop now. And if
everything goes well, I have one. You are
real that comes up, which is of the
stakeholders, which is the private channel
that I have in this team. This is it for
this demo in which we have looked at how
to use PowerShell in order to find all of
the SharePoint sites associated with
private channels in order tenant or for
only a specific team. Now let's go back to the slides and finish off this module