Problemi rari in Microsoft Exchange e le relative soluzioni

()

Ecco 20 problemi rari in Microsoft Exchange e le relative soluzioni utilizzando PowerShell.

  1. Problema: Database non montabile dopo un riavvio.
    Soluzione: Verifica e monta il database.
    powershell
    Get-MailboxDatabase | Where-Object { $_.Mounted -eq $false } | ForEach-Object { Mount-Database $_.Identity }
  2. Problema: Dimensione delle mailbox non aggiornata.
    Soluzione: Aggiorna manualmente le statistiche della mailbox.
    powershell
    Get-MailboxDatabase | Get-MailboxStatistics | Select DisplayName, TotalItemSize
  3. Problema: Connettività interrotta tra server Exchange.
    Soluzione: Controlla lo stato dei servizi principali.
    powershell
    Get-Service MSExchange* | Where-Object {$_.Status -ne ‘Running’} | Start-Service
  4. Problema: I messaggi rimangono in coda di trasporto.
    Soluzione: Libera le code o forza il recapito.
    powershell
    Get-Queue | Where-Object {$_.MessageCount -gt 0} | ForEach-Object { Retry-Queue -Identity $_.Identity }
  5. Problema: Certificato SSL scaduto.
    Soluzione: Importa un nuovo certificato SSL.
    powershell
    Import-ExchangeCertificate -FileData ([Byte[]]$(Get-Content -Path “C:\certificati\newcert.pfx” -Encoding byte -ReadCount 0)) | Enable-ExchangeCertificate -Services “IIS,SMTP”
  6. Problema: Il motore di ricerca non indicizza correttamente.
    Soluzione: Ricostruisci l’indice di ricerca.
    powershell
    Reset-SearchIndex -Identity “Mailbox Database Name”
  7. Problema: Limiti di invio non rispettati.
    Soluzione: Modifica i limiti di invio globali.
    powershell
    Set-TransportConfig -MaxReceiveSize 50MB -MaxSendSize 50M
  8. Problema: Deleghe di mailbox non applicate.
    Soluzione: Verifica e riassegna i permessi.
    powershell
    Add-MailboxPermission -Identity “mailbox@domain.com” -User “user@domain.com” -AccessRights FullAcces
  9. Problema: Errori nella replica del database DAG.
    Soluzione: Forza la replica.
    powershell
    Update-MailboxDatabaseCopy -Identity “DB1\Server1”
  10. Problema: Log del database troppo grandi.
    Soluzione: Esegui un truncation dei log.
    powershell
    Backup-Database -DatabaseName “DB1” -TruncateLogs
  11. Problema: Nessuna notifica di fuori sede inviata.
    Soluzione: Verifica e abilita le notifiche OOF.
    powershell
    Set-MailboxAutoReplyConfiguration -Identity “user@domain.com” -AutoReplyState Enabled -InternalMessage “Sono fuori sede.”
  12. Problema: Configurazione di autodiscover errata.
    Soluzione: Reimposta l’URL di autodiscover.
    powershell
    Set-ClientAccessService -Identity “ServerName” -AutoDiscoverServiceInternalUri “https://mail.domain.com/autodiscover/autodiscover.xml”
  13. Problema: Errori nell’invio di email in specifici domini.
    Soluzione: Controlla e modifica i connettori di invio.
    powershell

Set-SendConnector -Identity “Internet Connector” -SmartHosts “smtp.domain.com”

  1. Problema: Email duplicate ricevute.
    Soluzione: Cancella le regole di trasporto duplicate.
    powershell

Get-TransportRule | Where-Object {$_.Name -eq “Duplicate Rule Name”} | Remove-TransportRule

  1. Problema: Calendarizzazioni non sincronizzate.
    Soluzione: Esegui una nuova sincronizzazione dei calendari.
    powershell
    Update-CalendarEvents -Identity “user@domain.com” -CancelOrganizedMeetings
  2. Problema: Limite del database raggiunto.
    Soluzione: Aumenta la dimensione massima del database.
    powershell
    Set-MailboxDatabase -Identity “DB1” -IssueWarningQuota 20GB -ProhibitSendQuota 25GB -ProhibitSendReceiveQuota 30GB
  3. Problema: Errori nel download dei log.
    Soluzione: Verifica e reimposta la configurazione dei log.
    powershell

Get-EventLogLevel -Identity “MSExchangeTransport” | Set-EventLogLevel -Level Expert

  1. Problema: Recapito ritardato in una specifica mailbox.
    Soluzione: Ottimizza il throttling per l’utente.
    powershell
    Set-ThrottlingPolicy -Identity “CustomPolicy” -RCAMaxConcurrency 20
  2. Problema: Errori di autenticazione SMTP.
    Soluzione: Abilita l’autenticazione SMTP per l’utente.
    powershell
    Set-CASMailbox -Identity “user@domain.com” -SmtpClientAuthenticationDisabled $false
  3. Problema: Log delle transazioni corrotti.
    Soluzione: Ripristina i log delle transazioni.
    powershell
    Eseutil /R E00 /l “C:\ExchangeLogs” /d “C:\ExchangeDB”

Questi comandi possono richiedere autorizzazioni elevate e devono essere eseguiti con cautela.

/ 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?