microsoft:exchangeonlinepowershell
Differenze
Queste sono le differenze tra la revisione selezionata e la versione attuale della pagina.
| Entrambe le parti precedenti la revisioneRevisione precedenteProssima revisione | Revisione precedente | ||
| microsoft:exchangeonlinepowershell [03/04/2024 13:24] – [Exchange (365) - Gestione tramite Powershell] djbx83 | microsoft:exchangeonlinepowershell [30/01/2025 12:57] (versione attuale) – [Query utili] djbx83 | ||
|---|---|---|---|
| Linea 3: | Linea 3: | ||
| ===== Exchange (365) - Gestione tramite Powershell ===== | ===== Exchange (365) - Gestione tramite Powershell ===== | ||
| - | Da Powershell: | + | Se non ancora installato, occorre installare il modulo **ExchangeOnlineManagement**, |
| + | Install-Module -Name ExchangeOnlineManagement -Scope AllUsers | ||
| + | oppure | ||
| + | Install-Module ExchangeOnlineManagement | ||
| + | |||
| + | Una volta installato per connettersi al tenant: | ||
| Import-Module ExchangeOnlineManagement | Import-Module ExchangeOnlineManagement | ||
| + | Connect-ExchangeOnline -UserPrincipalName utenteadmin@tenant-del-cliente.it | ||
| + | |||
| + | Comparirà la finestra di autenticazione Microsoft. Inserire le credenziali dell' | ||
| + | |||
| + | Per disconnettersi da Exchange Online: | ||
| + | Disconnect-ExchangeOnLine | ||
| + | | ||
| + | ==== Query utili ==== | ||
| + | |||
| + | Elenco delle caselle a cui un utente ha accesso: | ||
| + | |||
| + | Get-Mailbox -ResultSize Unlimited | Get-MailboxPermission -User <UPN> | ||
| + | Get-Mailbox -ResultSize Unlimited | Get-MailboxPermission -User <UPN> | Where-Object { $_.AccessRights -like " | ||
| + | |||
| + | |||
| + | |||
microsoft/exchangeonlinepowershell.1712143490.txt.gz · Ultima modifica: da djbx83
