O-Xchange Notes from the Field!

Thursday, June 25, 2009

Configure Entourage to use Address Book using LDAP

Please refer to this document to configure
Entourage to use LDAP-Address book

How to restart Commvault services on a server

How to restart Commvault services on a server
 note: you will need to restart 2 instances of the service, the 64bit and 32bit accordingly
1. Find user's home exchange server
2. login to the server, and click on start, programs, commvault qnetix, galaxy, service controll manager. this is the 64bit instance click on stop
3. click on start, programs, commvault qnetix, galaxy, instance 002(this is the 32bit), service control manager, click on stop
4. Now start the 64bit instance first and then 32bit instance 5. You have now completed the restart
note: if this doesn't resolve the issue. stop the services again, go to task manager and find this process: dmrexrestore.exe and kill the process.
restart the services again.

Thursday, June 4, 2009

Working with Disconnected Mailboxes using powershell

To display mailboxes that are disconnected use the following command.
Get-MailboxStatistics -Server <server> | where { $_.DisconnectDate -ne $null } | select DisplayName,DisconnectDate
Replace <server> with the name of your mailbox server.
This gives a list of the disconnected mailboxes.

To reconnect you use the command below
Connect-mailbox –database <mailbox database name> –Identity <disconnected mailbox name> –User <User to connect to>

 The command below gives list of disconnected mailboxes on a server called Server1

Get-MailboxStatistics -Server "Server1" | where { $_.DisconnectDate -ne $null } | select DisplayName,DisconnectDate

some message tracking powershell commands for hub transport servers

some message tracking powershell commands for hub transport servers

Set-TransportServer "servername" –MessageTrackingLogMaxDirectorySize 2GB

Set-TransportServer E2K7 –MessageTrackingLogMaxFileSize 5MB

Set-TransportServer SERVERNAME –MessageTrackingLogMaxAge DD.HH:MM:SS
for eg Set-TransportServer E2K7 –MessageTrackingLogMaxAge 15.00:00:00

get-messagetrackinglog -Server "servername" -Start "1/14/2009 11:20:00 AM" -End "2/10/2009 11:20:00 AM" -resultsize unlimited | select timestamp, eventid, source, messagesubject, sender, internalmessageid, {_.recipients}, sourcecontext | export-csv c:\msgtrakcsv

creating report of all exchange mailboxes with associated information

steps to create report of all exchange user mailboxes with associated Names, server names, departments and title
(Note, you must have at least exchange recipient management rights to do this)
1. Open Exchange management shell
2. Run the Get mailbox powershell command(see below)
3. Run the Get-user command (see pshell command below). Note that this can take up to 10-15minutes to complete
4. Open MS Access and open the text files to a database and import the text files to respective tables in same database
5. While importing, use fixed width. Name the fields. Choose no primary key
6. After importing, create join between required tables
7. Run query on joined tables
get-mailbox  -ResultSize Unlimited  | ft SamAccountName, DisplayName, ServerName | out-file c:\all-EMTmboxes060309.txt

get-user  -ResultSize Unlimited | where-object{$_.RecipientType –eq “UserMailbox”}| ft SamAccountName, FirstName, LastName, Department, Title | out-file c:\allusermailboxes060309.txt

How to recover data from an old OST File in Outlook 2007

Issue: User lost calendar data from previous year and wants to recover lost data from an old OST file homed on a different computer
Steps to recover are as follows:
  • Request full access to the mailbox. An Exchange administrator will need to do this
  • Login to network. Open Outlook and create new profile with user information. Do not use auto discovery during setup. Configure manually
  • During profile setup, you will need to have the user’s server name. click on more settings, advanced settings, offline folder settings, click on browse and point to the ost file you need data restored from and click ok
  • Open outlook 2007 and choose the user’s profile you just created
  • You may get this warning message “Outlook is using an old copy of ost file, delete , close outlook and a new one will be created”. Click Ok and Click on File, Work Offline
  • Now export to .PST file by Clicking on File, Import/Export, export to a file, choose personal folder file, select desired folder to export and name the pst file and location
  • Close Outlook, delete the old .ost file. Open outlook, import the .pst file to the user’s folder on exchange server
  • Congratulations. You are done!

Outlook calendar events disappear after some months

issue:  Customer complained that Outlook calendar events disappear after some months
2 key things to check as you troubleshoot this:
a. autoarchive setting
b. mobile device synchronization
Note: Outlook does not delete things from the calendar automatically unless you have configured it to do so. 
verify autoarchive setting by Right-clicking the Calendar folder , choose Properties.  Select the AutoArchive tab and look to see if autoarchiving is enabled.  If so, disable it.

If AutoArchive is not the issue, confirm is customer synchs with a hand-held device?  That can be a contributing factor.
Mobile devices usually delete the events while the synchronization software ensures event is deleted in Outlook.