- Mailbox piena (Quota Superata)
Soluzione:
powershell
Set-Mailbox -Identity “utente@example.com” -IssueWarningQuota 4GB -ProhibitSendQuota 5GB -ProhibitSendReceiveQuota 6GB - Problema di consegna (Message Queue bloccata)
Soluzione:
powershell
Get-Queue | Where-Object {$_.Status -eq “Retry”} | Retry-Queue -Resubmit $true - Messaggi bloccati in Outbox
Soluzione:
powershell
Search-Mailbox -Identity “utente@example.com” -SearchQuery ‘subject:”sospeso”‘ -DeleteContent - Database montato in modalità offline
Soluzione:
powershell
Mount-Database -Identity “MailboxDatabase01” - Database non raggiungibile
Soluzione:
powershell
Test-ServiceHealth
Restart-Service MSExchangeIS - Certificato SSL scaduto
Soluzione:
powershell
New-ExchangeCertificate -DomainName “mail.example.com” -FriendlyName “SSL Cert” -RequestFile “C:\cert.req” - Backup del database fallito
Soluzione:
powershell
Set-MailboxDatabase -Identity “MailboxDatabase01” -CircularLoggingEnabled $true - Problemi di sincronizzazione con Active Directory
Soluzione:
powershell
Start-ADSyncSyncCycle -PolicyType Delta - Messaggi non recapitati (NDR 5.x.x)
Soluzione:
powershell
New-SystemMessage -DsnCode 5.1.1 -Internal $false -Language “en-US” -Text “Errore personalizzato” - Cassetta postale nascosta nell’address book
Soluzione:
powershell
Set-Mailbox -Identity “utente@example.com” -HiddenFromAddressListsEnabled $false - Problema di accesso OWA
Soluzione:
powershell
Set-OwaVirtualDirectory -Identity “OWA (Default Web Site)” -FormsAuthentication $true - Impostazioni di inoltro errate
Soluzione:
powershell
Set-Mailbox -Identity “utente@example.com” -ForwardingSMTPAddress “forward@example.com” -DeliverToMailboxAndForward $true - Log pieno del database
Soluzione:
powershell
Move-TransportDatabasePath -LogPath “D:\ExchangeLogs” - Problemi con il protocollo MAPI
Soluzione:
powershell
Set-CASMailbox -Identity “utente@example.com” -MAPIEnabled $true - Regole automatiche di inoltro non funzionano
Soluzione:
powershell
Set-TransportConfig -InternalSMTPServers @(“192.168.1.1”) - Scadenza del messaggio nelle code
Soluzione:
powershell
Set-TransportService -MaxMessageRetryInterval 1.00:00:00 - Numerosi messaggi spam inviati dall’organizzazione
Soluzione:
powershell
Set-TransportConfig -InternalSMTPServers @(“192.168.1.1”) -AntispamAgentsEnabled $true - Messaggi duplicati in una mailbox
Soluzione:
powershell
Search-Mailbox -Identity “utente@example.com” -SearchQuery ‘subject:”duplicato”‘ -DeleteContent - Limiti di dimensione per i messaggi
Soluzione:
powershell
Set-TransportConfig -MaxReceiveSize 30MB -MaxSendSize 30MB - Problemi con la connessione a Exchange Online (ibrido)
Soluzione:
powershell
Connect-ExchangeOnline -UserPrincipalName admin@example.com
Queste soluzioni mirano a risolvere problemi comuni con PowerShell.
