• 30Jun

    If you start typing a users email in any of the recipient fields in outlook, there is a quick way to do a “Check Name” search. Just press CTRL+K and it will take your text and reference it against any names in the Global Address List on Exchange. This is very helpful for quickly looking up someone that you are emailing rather than scrolling through all the names.

    – Harry Caskey

  • 13Aug

    To do this you must open up the Exchange Management Shell on Exchange 2007.  Then at the prompt you will want to find the GUID for the mailbox you wish to delete.  You can do this by typing the following command:

    Get-MailboxStatistics | where-object { $_.DisconnectDate -ne $null } | Select DisplayName,MailboxGuid

    You should then see a prompt like this.

    To remove individual mailboxes use the  following command with your servers info replaced in bold:
    Remove-Mailbox -Database “Database-Name” -StoreMailboxIdentity MailboxGuid -confirm:$false

    After this runs check to see if the GUID is gone by running the “Get-MailboxStatistics” command again.  After this has been run the mailbox has been removed from the system.

    To remove all disconnected mailboxes use the following commands, please note replace “Mailbox Store” with your information.

    This command will query the current disconnected mailboxes.
    $users = Get-MailboxStatistics | where-object { $_.DisconnectDate -ne $null } | Select DisplayName,MailboxGuid

    This command will use the query to remove the mailboxes.
    $users | ForEach { Remove-Mailbox -Database “Mailbox Store” -StoreMailboxIdentity $_.MailboxGuid -confirm:$false }

    – Harry Caskey

    Tags: , ,

  • 21Apr

    It is common practice to keep your server up to date. I came across this error while updating my Exchange Server 2007 to the next service pack. I found many different methods to fix this problem on the internet but none of them worked.

    Below was the error message I received when trying to visit the website.


    Outlook Web Access did not initialize. An event has been logged so that the system administrator can resolve the issue. Please contact technical support for your organization.
    Outlook Web Access was unable to access the Active Directory configuration settings for virtual directory “OWA” under Web site “owa”.


    Request
    Url: https://[OWA URL]:443/OWA/auth/error.aspx?replaceCurrent=1&url=https%3a%2f%2f[OWA URL]%2fOWA%2f
    User host address: [Client IP Address]

    Exception
    Exception type: Microsoft.Exchange.Clients.Owa.Core.OwaInvalidConfigurationException
    Exception message: Outlook Web Access was unable to access the Active Directory configuration settings for virtual directory “OWA” under Web site “owa”.

    Call stack
    Microsoft.Exchange.Clients.Owa.Core.OwaConfigurationManager.CreateAndLoadConfigurationManager()
    Microsoft.Exchange.Clients.Owa.Core.Globals.InitializeApplication()
    Microsoft.Exchange.Clients.Owa.Core.Global.ExecuteApplicationStart(Object sender, EventArgs e)

    Inner Exception
    Exception type: Microsoft.Exchange.Clients.Owa.Core.OwaInvalidConfigurationException
    Exception message: Outlook Web Access was unable to access the Active Directory configuration settings for virtual directory “OWA” under Web site “owa”.

    Call stack
    Microsoft.Exchange.Clients.Owa.Core.Configuration..ctor(ADSystemConfigurationSession session, String virtualDirectory, String webSiteName, ADObjectId distinguishedName, Boolean isPhoneticSupportEnabled)
    Microsoft.Exchange.Clients.Owa.Core.OwaConfigurationManager.LoadConfiguration()
    Microsoft.Exchange.Clients.Owa.Core.OwaConfigurationManager.CreateAndLoadConfigurationManager()


    After attempting many different lines and lines of PowerShell commands that did not work I came across the best way to fix this problem. The fix I found was to remove all virtual directories under the OWA and recreating them using these commands from PowerShell interface:

    Remove-OwaVirtualDirectory “owa (Default Web Site)”
    ***(Default Web Site) may depend on what your directory name is. To find out what the correct directory names are use this the command: Get-OwaVirtualDirectory
    New-OwaVirtualDirectory -WebSiteName “owa”

    This re-synced the OWA Virtual Directory to the Active Directory and allowed OWA to be accessible again.

    – Harry Caskey

    Tags:

  • 08Apr

    I thought today I would blog about an experience I had with Exchange Server 2007 last June 16th, 2008 we had a power outage early in the morning which resulted in server failures across the board.  This then caused a chain reaction when the backup domain controller went down. The Active Directory systems dropped off the network leaving computers requesting AD authentication dead in the water. Then our Exchange Server went offline causing an unexpected shutdown. As files are writing to the disk this can always cause corruption. In this case it did.

    When the system came back online there happen everything was fine and dandy. Until we noticed that the Public Folders was offline. Now we are running an Exchange Server 2007 when I signed on this machine it would not mount. To fix this problem I had to use a PowerShell command to repair the Public Folders.

    At the PowerShell command prompt I used the following command.

    First run the repair command on the database, you want to repair any damage before and defragmentation because you may make the corruption irreversible.

    repair eseutil /p “[Drive Root]\Program Files\Microsoft\Exchange\[Location of the Database]”

    Second run a defragment command, this will clean out and organize the database so it works more efficiently. I highly recommend doing a defragment after the repair this will ensure integrity and stability after the repair has complete.

    defragment eseutil /d
    “[Drive Root]\Program Files\Microsoft\Exchange\[Location of the Database]”

    Then when you remount the database in the exchange console and it should work. By reconnecting the repaired store this should automatically bring the Public Folder share back online.

    – Harry Caskey

    Tags:

   

-->