20 problemi comuni in Microsoft Exchange con le relative soluzioni che utilizzano PowerShell

()
  1. Mailbox piena (Quota Superata)
    Soluzione:
    powershell
    Set-Mailbox -Identity “utente@example.com” -IssueWarningQuota 4GB -ProhibitSendQuota 5GB -ProhibitSendReceiveQuota 6GB
  2. Problema di consegna (Message Queue bloccata)
    Soluzione:
    powershell
    Get-Queue | Where-Object {$_.Status -eq “Retry”} | Retry-Queue -Resubmit $true
  3. Messaggi bloccati in Outbox
    Soluzione:
    powershell
    Search-Mailbox -Identity “utente@example.com” -SearchQuery ‘subject:”sospeso”‘ -DeleteContent
  4. Database montato in modalità offline
    Soluzione:
    powershell
    Mount-Database -Identity “MailboxDatabase01”
  5. Database non raggiungibile
    Soluzione:
    powershell
    Test-ServiceHealth
    Restart-Service MSExchangeIS
  6. Certificato SSL scaduto
    Soluzione:
    powershell
    New-ExchangeCertificate -DomainName “mail.example.com” -FriendlyName “SSL Cert” -RequestFile “C:\cert.req”
  7. Backup del database fallito
    Soluzione:
    powershell
    Set-MailboxDatabase -Identity “MailboxDatabase01” -CircularLoggingEnabled $true
  8. Problemi di sincronizzazione con Active Directory
    Soluzione:
    powershell
    Start-ADSyncSyncCycle -PolicyType Delta
  9. Messaggi non recapitati (NDR 5.x.x)
    Soluzione:
    powershell
    New-SystemMessage -DsnCode 5.1.1 -Internal $false -Language “en-US” -Text “Errore personalizzato”
  10. Cassetta postale nascosta nell’address book
    Soluzione:
    powershell
    Set-Mailbox -Identity “utente@example.com” -HiddenFromAddressListsEnabled $false
  11. Problema di accesso OWA
    Soluzione:
    powershell
    Set-OwaVirtualDirectory -Identity “OWA (Default Web Site)” -FormsAuthentication $true
  12. Impostazioni di inoltro errate
    Soluzione:
    powershell
    Set-Mailbox -Identity “utente@example.com” -ForwardingSMTPAddress “forward@example.com” -DeliverToMailboxAndForward $true
  13. Log pieno del database
    Soluzione:
    powershell
    Move-TransportDatabasePath -LogPath “D:\ExchangeLogs”
  14. Problemi con il protocollo MAPI
    Soluzione:
    powershell
    Set-CASMailbox -Identity “utente@example.com” -MAPIEnabled $true
  15. Regole automatiche di inoltro non funzionano
    Soluzione:
    powershell
    Set-TransportConfig -InternalSMTPServers @(“192.168.1.1”)
  16. Scadenza del messaggio nelle code
    Soluzione:
    powershell
    Set-TransportService -MaxMessageRetryInterval 1.00:00:00
  17. Numerosi messaggi spam inviati dall’organizzazione
    Soluzione:
    powershell
    Set-TransportConfig -InternalSMTPServers @(“192.168.1.1”) -AntispamAgentsEnabled $true
  18. Messaggi duplicati in una mailbox
    Soluzione:
    powershell
    Search-Mailbox -Identity “utente@example.com” -SearchQuery ‘subject:”duplicato”‘ -DeleteContent
  19. Limiti di dimensione per i messaggi
    Soluzione:
    powershell
    Set-TransportConfig -MaxReceiveSize 30MB -MaxSendSize 30MB
  20. 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.
5,0 / 5
Grazie per aver votato!

How useful was this post?

Click on a star to rate it!

Average rating / 5. Vote count:

No votes so far! Be the first to rate this post.

As you found this post useful...

Follow us on social media!

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?