Download sharepoint Online Management Shell
https://www.microsoft.com/en-us/download/details.aspx?id=35588
connection
$adminUPN= »<the full email address of a SharePoint administrator account, example: jdoe@contosotoycompany.onmicrosoft.com> »
$orgName= »<name of your Office 365 organization, example: contosotoycompany> »
$userCredential = Get-Credential -UserName $adminUPN -Message « Type the password. »
Connect-SPOService -Url https://$orgName-admin.sharepoint.com -Credential $userCredential
tester Get-SPOSite
Lister commande: Get-Command -Module « online »
cmdlet
https://docs.microsoft.com/en-us/powershell/module/sharepoint-online/index?view=sharepoint-ps