Powershell su Microsoft365

Опубликовано: 01 Ноябрь 2024
на канале: Michele Vese
1,208
32

#powershell #microsoft365 #michelevese .
Vediamo come poter amministrare il nostro abbonamento Microsoft365 utilizzando powershell anche per la gestione di Exchange on line.

*****************************************************************

• Script connessione al tenant 365:
powershell.exe -ep bypass
$Credential=Get-Credential
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powersh... -Credential $Credential -Authentication Basic -AllowRedirection
Import-PSSession $Session

Comandi supplementari:
Get-Mailbox
Get-MobileDevice | FL FriendlyName, DeviceId
Get-MobileDevice | FT -autosize -wrap

Get-Mailbox | Get-MailboxStatistics | ft DisplayName, TotalItemSize | Sort-Object TotalItemsize

Get-Mailbox | Set-Mailbox -Office IT
Get-MailboxStatistics -Identity Michelevese | fl displayname,database*quota,totalitemsize
Get-MailboxStatistics -Identity Michelevese | ft DisplayName, TotalItemSize
Get-MailboxStatistics -Identity Michelevese | Sort-Object TotalItemsize -Descending | ft DisplayName, TotalItemSize

• Approfondimenti: https://www.michelevese.it/blog/

• Iscriviti per restare aggiornato:    / @michelevese  

Consulta tutti i post del mio blog:
• https://michelevese.it/

Collegati al mio profilo Linkedin
•   / michele-vese  

Seguimi su Instagram
•   / michele.vese  

Seguimi su Facebook
•  / michelevese.it  

Tags
Powershell, Powershell Exchange on line, Powershell su Microsoft365, Office365, Get-Mailbox, OneDrive, SharePoint, Teams, Azure, Azure AD Connect, Intune, Microsoft, Cloud, Windows Server 2019,Windows Server Italiano,Windows Server 2012,Windows Server 2016,Windows Server VMware