Created
April 7, 2021 16:13
-
-
Save rjesh-git/81ad0da89a8904680e99cf1fcea8f751 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Run this in PowerShell as Administrator | |
## Install PnP PowerShell Module | |
Install-Module -Name PnP.PowerShell -AllowClobber | |
Import-Module PnP.PowerShell -Force | |
## Change YourOffice365Domain with yours, enter the global admin creds when prompted | |
Connect-PnPOnline -Url https://YourOffice365Domain-admin.sharepoint.com/ | |
## Gets all Teams in tenant | |
Get-PnPTeamsTeam |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment