Wednesday, June 29, 2011

Friday, June 17, 2011

Delete a disconnected mailbix in Exchange 2010

1. Get-MailboxStatistics -Database "Mailbox Database 1166050598" | Where-Object {$_.DisconnectDate -Notlike $NULL} | FL DisplayName, DisconnectDate, MailboxGuid

2. The result should be

DisplayName    : USERMAN
DisconnectDate : 1-7-2010 16:00:48
MailboxGuid    : def4aabd-2156-5857-858f-470efc3e6f28

3. Remove-Mailbox -Database "Mailbox Database 1166050598" -StoreMailboxIdentity def4aabd-2156-  5857-858f-470efc3e6f28

4. clean-mailboxdatabase "Mailbox Database 1166050598"

Saturday, June 11, 2011

Move mailbox with many bad items

New-MoveRequest -Identity 'Kweku' -PrimaryOnly -TargetDatabase "DB01" -BadItemLimit 100 -AcceptLargeDataLoss

Tuesday, June 7, 2011

Exchange 2010 SP1 Mailbox Import

1. In Role Base Access Control (RBAC), assign Mailbox Import Export Role to administrator
2. Copy the pst file to share file e.g. \\mbx1\temp
3. In Exchange Management Shell, type
New-MailboxImportRequest -Mailbox 'user' -FilePath \\mbx1\temp\user.pst
4. Check the status, type
Get-MailboxImportRequest

Saturday, June 4, 2011

Active Sync error with Exchange 2010 Sp1 "Failed to create the account. Please try again later".

ExI have seen this error many times with iPhones, etc. This has been easily fixed every time by simply doing the following.
You will need to have access to Active Directory.
1. Go Active Directory Users & Computers (Enable Advanced Features if needed)
2. Open the properties of the user that is having the issue
3. Click on the Security Tab
4.Click the Advanced button
5. In the Default Permissions tab check the box at the bottom for "Include inheritable permissions from this object’s parent"
6. Wait for AD to propagate

Prevent or Prohibit Server Drives From Being Visible to Users

  To make changes to this policy for one of the seven default values: Start the Microsoft Management Console. On the Console menu, click  Ad...