Exchange 2010 export import mailboxes

 

Service Pack 1 for Exchange 2010 changed mailboxes import export to .pst file.

After you install Service Pack 1 for Exchange Server 2010 you need to use new CMDlet’s to import or export mailboxes:

  • New-MailboxExportRequest - to export mailbox
  • New-MailboxImportRequest - to import mailbox

To be able to export or import mailbox you need to meet following requirements:

  • have Export Import RBAC rights
  • have network share where you will export mailbox to .pst file

 

Assigning needed rights to export import mailbox from Exchange 2010:

When you write New-MailboxExportRequest in EMS (Exchange Management Console) and you will receive error that this command is not recognized, it means you don’t have adequate permissions.

You have to add Mailbox Import Export role for specified user or security group.

This security group should be universal.

Below command will add necessary permissions for security group MBX_imp_exp:

New-ManagementRoleAssignment -Name "Import Export Mailbox Admins" -SecurityGroup "MBX_imp_exp" -Role "Mailbox Import Export"

Continue reading

Print Friendly

Exchange 2010 last logon time to mailbox

 

Sometimes we need to find when user logged to mailbox for the last time.

To achieve this we need to use  Get-MailboxStatistics CMDlet

Below command will display LastLogonTime for mailbox JSmith:

Get-MailboxStatistics JSmith | select DisplayName, LastLogonTime

 

If we are using shared mailboxes we also should display user account which were used to log to mailbox.
This command will display mailbox name, LastLogonTime and user account used to logon:

Get-MailboxStatistics JSmith | select DisplayName, LastLogonTime, LastLoggedOnUserAccount

 

When we want to get logon time information for all mailboxes in database or in mailbox server MX01, we need to use Get-Mailbox CMDlet, and pipe result to Get-MailboxStatistics

Continue reading

Print Friendly

Lync Server 2010 Jump Start free online video

[mantra-pullquote align=”left|center|right” textalign=”left|center|right” width=”33%”][/mantra-pullquote]

If you are looking for some tutorials about Microsoft Lync Server 2010, you can check those Jump Start video series.

You can find them on TechNet website.
It’s about 18 videos discussing Microsoft Lync 2010 deploying, configuring, monitoring and managing.

All tutorials are presented in 13 sections and presented by: Aaron Steele and  Brian Ricks

Continue reading

Print Friendly

Exchange Message Tracking Logs export to Excell

 

Very often we have to find emails sent from one mailbox to another.
Informations about sent messages in our Microsoft Exchange Server environment we can find in Message Tracking Logs which are located on Hub Transport servers

 

Mostly to explore Message Tracking Log we use GUI tool Tracking Log Explorer from Exchange Management Console. We can also use powershell to track messages which is more helpful. We can create powershell script to track messages using CMDlet Get-MessageTrackingLog.

 

How to use Get-MessageTrackingLog we will write next time.

Now we want to describe how to find informations about delivered messages to specified mailbox and how to easly export those informations to Excell where we can sort and filter them.

 

To find informations about sent or received message we have to check all Message Tracking Logs on all Hub Transport Servers in our Exchange environment.

When we want to get informations about messages delivered to mailbox we need to use Get-MessageTrackingLog with -EventId Deliver options, then we will receive only informations about messages with status delivered.

 

This link describes Get-MessageTrackingLog CMDlet and how to use it.

Before you will start looking for message, you need to know what is your message tracking logs configuration for Hub Transports Servers. You have to check where and how long those logs are held.

 

Below you can find script which will search all Hub Transport Servers and message transport logs for delivered messages to specified mailbox. This mailbox is defined in variable Recipient.

Continue reading

Print Friendly

Exchange Server 2013 Visio Stencil, Lync 2013, Sharepoint 2013 and Office 2013

 

Microsoft published new Visio Stencil with icons for Exchange Server 2013, Lync Server 2013, Sharepoint 2013, Office 2013.
This file (FLEX_Stencil_112012.vss) contains more than 300 icons.

You can easly use them to create visual diagrams describing your Exchange Server architecture or environment. This file contains lot of icons representing servers, applications, services. Continue reading

Print Friendly

Remote Exchange PowerShell Session in Powershell ISE

 

During Microsoft Exchange servers administration we often use EMS (Exchange Management Shell). Many times it’s the best and the fastest way to achieve what we need. We can create Powershell scripts to automate some administrative actions.

Unfortunately lot of us to use Exchange Management Shell, first connect by RDP to Exchnage Server or workstation with Exchange Management Tools and then run EMS.

We can easly connect to Powershell Exchange Management Console from workstation using New-PSSession in Powershell ISE console.

Below we present how to add menu Powershell ISE to connect to Exchange Server Powershell Console.

First we need to run Powershell ISE console and write:

Set-ExecutionPolicy RemoteSigned

 

next we need to write to check powershell profile used on our computer:

$profile

 

 

Now we know where is located file with our powershell profile, but we have to check if this file exists.

To check if this profile file exists we have to run below command:

test-path $profile

Continue reading

Print Friendly

Exchange Server 2010 rollup upadate error 1603 or 1635

 

When you are trying to install update rollup or service pack for Microsoft Exchange Server 2010 or 2007 and you receive error 1603 or 1635 you can resolve this problem like below.

Problems occurs because new rollup update or service pack check %SystemDrive%\Windows\Installer folder for .msp files from earlier update rollups.

If an .msp file is missing then process fails with code 1603 or 1635.

 

To resolve this problem you need to follow these steps:

  1. Make sure that all antivirus, anti-spam, and monitoring services are disabled.
  2. Clear the data in the “%SystemDrive%\Windows\TEMP”folder.
  3. Try to install the update rollup or service pack.
  4. If the installation fails, open the Exchangesetup.msilog installation log in the “%SystemDrive%\ExchangeSetupLogs” folder.

 

If you can’t find ExchangeSetup.msilog file then you have to use /lxv switch during installation rollup or service pack like below:

Exchange2007-KB968012-x64-EN.msp /lxv c:\Rollup.log

 

Now you can open log file and it looks like this below:

Continue reading

Print Friendly

Microsoft Outlook Configuration Analyzer Tool version 2.0

 

Few days ago, new version of Microsoft Outlook Configuration Analyzer Tool was released.

This tool will help you quick and easy analize Microsoft Outlook profile and mailbox common configuration problems which can cause problems with Outlook.

 

With Microsoft Outlook Configuration Analyzer Tool 2.0 you can have detailed report of your current Outlook profile and mailbox. In this report you will find problems found in your profile.
Each problem will have link to KB article where you will find explanation.

Continue reading

Print Friendly

Windows Server 2012 Jump Start online video

 

Last time we wrote about online video training 70-417 Upgrading your skills to MCSA Windows Server 2012 which was available on Microsoft Websites for few hours. Now it’s gone and probably not coming back.

What’s why we decided to inform you about Windows Server 2012 Jump Start online video  available on TechNet websites.

 

 

This video is divided on 12 parts, each is 1h length.

Windows Server 2012 issues are discussed by: Rick Claus i Corey Hynes.

 

Continue reading

Print Friendly

Exchange Server scripts repository resources

 

If you write scripts for you Exchange Server environment, you can be interested in Microsoft  Scripts Repository.

On Microsoft websites you can find many scripts for Exchange environment, which are written in VBS, Powershell, SQL, JavaScript and others.

Those scripts are divided for Exchange Server versions 2003, 2007, 2010.

Links to Exchange Scripts repository :

Microsoft Exchange Script Center

Technet Gallery Exchange Scripts

 

 

Print Friendly