Exchange Powershell

Error message :No DNS servers could be retrieved from network adapter 00000000-0000-0000-0000-000000000000. Check if the computer is connected to a network and Get-NetworkConnectionInfo returns any results. EventSourceName: MSExchangeTransport Knowledge: http://go.microsoft.com/fwlink/?LinkID=67336&id=2BCB35C6-D00D-47BB-B5E0-3D9A76ABE1E0 Computer: Exchangeserver01.Domain.local Impacted Entities (0): Environment : Exchange 2010/Exchange 2013 First troubleshooting step would be to Run Get-NetworkConnectionInfo from Exchange shell to get the result. So…

Read More No DNS servers could be retrieved from network adapter

a) This will return a result of all DB with Content Index State  failed. Get-MailboxDatabaseCopyStatus * | where {$_.ContentIndexState -eq “Failed”} b) By using the following command we can update the content index status of all the failed DBs. Get-MailboxDatabaseCopyStatus * | where {$_.ContentIndexState -eq “Failed”} | Update-MailboxDatabaseCopy -CatalogOnly c) Following command will help to…

Read More How to check the database content index status (Failed) and update the catalog via Powershell

Generate a mailbox statistics report for particular Exchange Database and Export it as CSV Get-MailboxStatistics -database “DATABASE” | sort TotalItemSize -Descending | select DisplayName,TotalItemSize | epcsv c:\temp\mailsize.csv

Read More Generate a mailbox statistics report for particular Exchange Database and Export it as CSV