Reader small image

You're reading from  Microsoft Office 365 Administration Cookbook

Product typeBook
Published inSep 2020
PublisherPackt
ISBN-139781838551230
Edition1st Edition
Right arrow
Author (1)
Nate Chamberlain
Nate Chamberlain
author image
Nate Chamberlain

Nate Chamberlain is a technical content creator, solution architect, and trainer, recognized as a 5-year Microsoft MVP. With a background in business analysis and systems administration, Nate has authored seven books and manages his blog. He holds an array of certifications, including M365 Enterprise Administrator Expert and Microsoft Power Platform App Maker Associate, and is a frequent speaker at user groups and conferences.
Read more about Nate Chamberlain

Right arrow

Using PowerShell to export a list of all the teams' owners and members

Sometimes, the click-intensive web experience of reviewing teams, owners, and members may not be ideal when working on analyzing and reporting Teams data for hundreds of teams simultaneously. While the previous recipe is great for looking into a few teams occasionally, this method of exporting all the teams' info is best for creating a snapshot in time for all teams. In this recipe, we'll export a CSV file with all the teams' data.

Getting ready

You must be a global or Teams administrator to complete the steps in this recipe. This script includes code to prompt you for credentials, as well as auto-install and a connection to the appropriate PowerShell modules, so no additional changes or configuration are needed to the script. You'll simply run the script as is, then sign in using modern authentication with your global admin or Teams admin credentials.

Note that this script is from...

lock icon
The rest of the page is locked
Previous PageNext Chapter
You have been reading a chapter from
Microsoft Office 365 Administration Cookbook
Published in: Sep 2020Publisher: PacktISBN-13: 9781838551230

Author (1)

author image
Nate Chamberlain

Nate Chamberlain is a technical content creator, solution architect, and trainer, recognized as a 5-year Microsoft MVP. With a background in business analysis and systems administration, Nate has authored seven books and manages his blog. He holds an array of certifications, including M365 Enterprise Administrator Expert and Microsoft Power Platform App Maker Associate, and is a frequent speaker at user groups and conferences.
Read more about Nate Chamberlain