An adeptation of the script by Matthias R Jessen. # Get all mailboxes in the forest $Mailboxes = Get-User -OrganizationalUnit “Employees” | Get-Mailbox -ResultSize unlimited -IgnoreDefaultScope $ConfirmPreference = “None” # Iterate over each mailbox foreach($Mailbox in $Mailboxes) { try { # Try to run the example fix against the current $Mailbox […]
Posts in the Exchange category:
Exchange 2013 and Lync 2010 Auto-attendant not working
After running an upgrade from Exchange 2010 to 2013 I began running into the issue that the voicemail for users was no longer working as intended. Several frustrating attempts to resolve this found a severe lack of documentation for this particular state of deployment. After a long, extensive search I came across a good post […]
Exchange 2013 Certificate swap
After updating a certificate on Exchange 2013 I always remove the old certificate. This lead to the complete back-end not working properly anymore. A quick search on Bing concluded that Exchange does not bind the certificate to both the Default Web Site and the Exchange Back End, but purely to the Default Web Site. Manually […]
Migration from Exchange 2010 to 2013
Running migrations of Exchange is always a slow process, especially if you run into problems or hickups along the way. I’ve done my fare share of migrations and know a few basics to being with outright; Always migrate to a different server. Never do an inplace upgrade. I don’t even know if this is possible […]
Adding Exchange 2013 to PowerShell ISE
Adding support for Microsoft Exchange 2013 in PowerShell ISE: . ‘C:\Program Files\Microsoft\Exchange Server\V15\bin\RemoteExchange.ps1’ Connect-ExchangeServer -auto
Exchange 2010 on Windows Server 2012 after upgrade
After a recent upgrade I ran into a problem with Exchange 2010 no longer accepting WinRM connections from an external address. This caused an error to appear in the Exchange Management Console stating it could no longer connect. Fixing this problem was pretty straight forward; Open the Server Manager Select the correct Server Goto Manage […]
Exchange 2010 not discovering AD, Information Store not starting
Moving around some Domain Controllers in our Active Directory today caused a major issue with our Exchange 2010 Server. All of a sudden the Information Store was no longer available and a long list of errors occured. Alot of them complaining about the RPC connection not being made to the AD discovery tool. Process STORE.EXE […]
Exchange 2010 SP1 giving “ACCESSDENIED” on trying to access AD
When attempting to use the Test-SystemHealth it returns the following error: WARNING: Active Directory server DC1.Example.local is down or unreachable. This error could also be the result of a network or permissions problem. Error: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) This can be avoided by using the following script directly into the Exchange […]
Backup Exchange 2010 SP1 on Windows 2008 R2 with Windows Backup
First install the Windows Server Backup Features using the Server Manager. Select both the Windows Server Backup and Command-line Tools. Now locate the “Microsoft Exchange Server Extension for Windows Server Backup” service and set the service to automatic and start it. Now we are ready to begin the backup process from the Windows Server Backup tool. From Start […]
Exchange 2010 SP1 PST Export via Command Line (Powershell)
With the new features that came out in SP1 for Exchange 2010 there finally is access directly on the server to export mailboxes into PSTs from the Exchange Server itself without the need for Office or ExMerge. I wrote a simple batch-job that will run the entire export into a local (or network) directory. I […]