Exchange

=======================================================

Office 365 Admin into a users mailbox

https://outlook.office.com/ecp/USER@*theirdomain*.com/

==========================================================================================

To REMOVE or DISABLE an account !

Disable: This action does not remove the recipient object from Active Directory, it only      removes the Exchange attributes from the object and marks its mailbox for deletion.
Remove: When you remove a mailbox, you are removing the recipient object from Active Directory and marking its mailbox for deletion

==========================================================================================

View all Mobile connected devices to Exchange 2010

1. Open Exchange Management shell
2. Type the following command

 Get-ActiveSyncDevice | select-object DeviceModel,FriendlyName,DeviceOS,UserDisplayName | sort-object devicemodel | Ft -autosize -wrap

The output will be in a four column table.
You can easily tweak the output by substituting other fields into the command. To view all available fields, just enter Get-ActiveSyncDevice into powershell and it will show you the raw output.

===================================================================

Configure Outlook 2003 client with Exchange 2010

Outlook 2003

To manually update an existing Outlook 2003 profile so that it uses RPC encryption with Exchange 2010, follow these steps:

  1. In Control Panel, open the Mail
  2. Click Show Profiles.
  3. Select your profile, and then click Properties.
  4. Click E-mail Accounts.
  5. Select View or change existing e-mail accounts, and then click Next.
  6. Select the Microsoft Exchange Server account, and then click Change.
  7. In the dialog box that contains your mailbox server and user name, click More Settings.
  8. In the Microsoft Exchange Server dialog box, click the Security
  9. Click to select the Encrypt data between Microsoft Office Outlook and Microsoft Exchange Server check box, and then click OK.
  10. out2003
  11. Click Next, and then click Finish.
  12. Click Close, and then click OK.

===================================================================
Challenge: Export mailbox to PST file / Merge Mailbox to another.
Version: Exchange 2010, SP1

Export email from a mailbox to PST or merge into an existing mailbox. You must export to PST first, then import PST to new tenant mailbox. No known method of simply merging one mailbox into another.

To Start you must create a network share, give the group “Exchange Trusted Subsystem” full rights.

Now we need to grant rights to an exchange account to export mailboxes. So in PowerShell

New-ManagementRoleAssignment –Role "Mailbox Import Export" –User Administrator

Now restart PowerShell to apply this new permission

Now we will Export a mailbox to a PST file from PowerShell

[PS] C:\>New-MailboxExportRequest -Mailbox chopper.reid -FilePath \\EX2010\pst\chopper.reid.pst

Name                                           Mailbox                                        Status
----                                           -------                                        ------
MailboxExport                                  itwasme.net/Company/Users/SBS... Queued

To view progress

[PS] C:\>Get-MailboxExportRequest | Get-MailboxExportRequestStatistics

Name                                   Status                    SourceAlias                           PercentComplete
----                                   ------                    -----------                           ---------------
MailboxExport                          InProgress                chopper.Reid                             20

To complete this operation, you must remove the request from the server. To view all such requests

[PS] C:\>Get-MailboxExportRequest | where {$_.status -eq "Completed"}

Name                                           Mailbox                                        Status
----                                           -------                                        ------
MailboxExport                                  itwasme.net/Company/Users/SBS... Completed

To nuke these completed requests

[PS] C:\>Get-MailboxExportRequest | where {$_.status -eq "Completed"} | Remove-MailboxExportRequest

select [A] to remove all.

========================================================
Now to import or merge the mailbox into another mailbox. Assuming you use the same account granted export mailbox rights from above.

Create a new folder e.g. “eMail from Merged mailbox”. So that the PST content will be merged into a folder inside the target mailbox.

[PS] C:\>New-MailboxImportRequest -FilePath \\ex2010\pst\Chopper.reid.pst -Mailbox john.balls.smith -TargetRootFolder "Mailbox - eMail from Merged mailbox"

To keep check on progress

[PS] C:\>Get-MailboxImportRequest | Get-MailboxImportRequestStatistics

Name                                   Status                    TargetAlias                           PercentComplete
----                                   ------                    -----------                           ---------------
MailboxImport                          InProgress                John.Balls.Smith                            55

Again to close out completed Mailbox Imports and view what can be removed.

[PS] C:\>Get-MailboxImportRequest | where {$_.status -eq "Completed"}

Name                                           Mailbox                                        Status
----                                           -------                                        ------
MailboxImport                                  itwasme.net/Company/Users/SBS...               Completed

And to remove completed requests.

[PS] C:\>Get-MailboxImportRequest | where {$_.status -eq "Completed"} | Remove-MailboxImportRequest

Leave a comment