Exchange 2007/10 - How export to pst single mailbox or all mailboxes with single command or powershell command

With Exchange 2010 SP1 there is possibility to automatically export single mailbox or all mailboxes and convert them to .pst file (it could be alternative backup procedure)

Here are steps that you need to follow:

1. Give a domain user ability to import Export mailbox with this command

New-ManagementRoleAssignment –Role "Mailbox Import Export" –User "Domain\user_domain"

otherwise:

New-MailboxExportRequest -Mailbox "TEST, user" -FilePath \\SERVERNAME\share_name\TEST.user-export.pst

2. Create a network share and give “Exchange Trusted Subsystem” groups read and write on that share.

3. Create export request like follow:

New-MailboxExportRequest -Mailbox “mailbox_bame” -FilePath “network share”

4. To verify Export request status

Get-MailboxExportRequest | Get-MailboxExportRequestStatistics

Get-MailboxImportRequest

5. To view mailbox export completed and remove them:

Get-MailboxExportRequest | where {$_.status -eq "Completed"}

Remove export mailbox completed:

Get-MailboxExportRequest | where {$_.status -eq "Completed"} | Remove-MailboxExportRequest

Get-MailboxExportRequest | Remove-MailboxExportRequest

6. If you want to backup all mailboexes you can use this script

foreach ($i in (Get-Mailbox | Where {$_.ExchangeVersion.ExchangeBuild.Major -eq 14})) { New-MailboxExportRequest -Mailbox $i -FilePath "\\SERVER_BAME\SHARE\${$i.Alias).pst" }

In case you want to backup only some mailboxes you need to create a .csv file with first row with Alias name followed by Mailboxes alias name or simple mailbox name

foreach ($i in (Import-Csv .\exports.csv)) { New-MailboxExportRequest -Mailbox $i.Alias -FilePath "\\SERVER_BAME\SHARE\$($i.Alias).pst" }

Later you can perform Mass Exports as a scheduled task.


<----------->

<===============================>

With Exchange 2007 SP3 there is possibility to automatically export single mailbox or all mailboxes and convert them to .pst file but procedure is slightly different than Exchange2010

On Exchange 2007 otherwise you need to perform this task on 32 bit Server with outlook 2003 SP2 using this syntax.

In order to export or import mailboxes to PST files the following requirements must be met:


  1. Export/Import to PST must be run from a 32 bit client machine with Exchange Management Tools installed (Version Exchange 2007 SP1 or later). The 32bit requirement comes from a dependency with the Outlook client.

    Microsoft Exchange Server 2007 Management Tools (32-Bit)
  2. Either Outlook 2003 or Outlook 2007 must be installed on the client machine.


The user running the task must be an Exchange Organization Admin or an Exchange Server Admin on the server where the mailbox to export/import lives.


Export-Mailbox -Identity “domain\userdomain  -PSTFolderPath f:\ ArchiviedPST\Archiviedusers.pst

More details here:

https://blogs.technet.microsoft.com/exchange/2007/04/13/how-to-export-and-import-mailboxes-to-pst-files-in-exchange-2007-sp1/

[original article]

http://exchangeserverpro.com/export-mailboxes-exchange-server-2010-sp1/ 

http://www.stevieg.org/2010/07/using-the-exchange-2010-sp1-mailbox-export-features-for-mass-exports-to-pst/ 

<-------->

You could be interested to these similar article too:

Exchange 201X- How get all users who have a forwarding email, redirect rule and delegate permission on them mailboxes or Outlook folders

Exchange 2013 - How to monitor it with powershell command

Exchange - Microsoft Exchange Server User Monitor

Exchange 2010 - Poster dell'architettura

Exchange 2010 - How to monitor Exchange Health

Exchange 2010 - How export to pst single mailbox or all mailboxes with single command or powershell command

Exchange 2013 - How to monitor it with powershell command

Exchange 2010 - How to get info on Mobile devices connected via ActiveSync, quarantine any new device and remote Wipe them.

Exchange 2003/2010 - Add a photo to user contact



Server - how to expose QNAP iscsi storage to Vmware based system

During these years I had the opportunity to expose QNAP devices (or other NAS) storage like ISCSI.

For this purpose I indicate this official Veeam tutorial to get this result.

http://files.qnap.com/news/pressresource/product/How_to_set_up_QNAP_NAS_as_a_datastore_via_iSCSI_for_VMware_ESX_4.0_or_above.pdf

The main idea is to expose storage with ISCSI and then connect it to Vmware ESXi.

The best approach it would be to have double switch (for redundancy) and different paths availibility (in this mode) and create a VLAN between ESX(i) and QNAP storage (but it work in any case on same VLAN where there are clients/servers too but with less perfomances)

InfraStructure

QNAP screenshot lun creation


ESXI lun connection




Now Status is enabled














[update 2019.05.13]

Here they are updated links to all QNAP Storage products:

https://www.qnap.com/it-it/product/

Tips - Rss aggregator/Reader

If you was enthusiastic about Google Reader, that was dismissed some years, ago I will take note, in this post some products that, in my opinion, are quite good (some enhanced feature are not for free):

1. Feedly
2. Old Google Reader
3. Diggy Reader

Software - QTTabBar Explorer addon to have multitab in Windows explorer

QTTabBar

here is QTTabBar that give you the ability to have multitab on explorer windows program
QTTabBar ver 1028 (2015-8-11) New
- Extends Explorer by tabs and extra folder views
- Free/Donationware
- Multiple-language support by contributors
- for Windows7 & Windows8 & Windows8.1 & Windows10 (32bit/64bit) + .net Framework 4.0
[original Link http://qttabbar.wikidot.com/]



SCCM 2012 R2 - Cumulative Update 1 for ConfigMgr 2012 SP2 and ConfigMgr 2012 R2 SP1 is available

Full Microsoft Article:

Description of Cumulative Update 1 for System Center 2012 R2 Configuration Manager Service Pack 1 and System Center 2012 Configuration Manager Service Pack 2

here they are error fixed:


otfix Download Available

Issues that are fixed

Configuration manager client

  • 3073015 Registration for an existing client is unsuccessful on System Center 2012 Configuration Manager SP2 and System Center 2012 R2 Configuration Manager SP1

  • Computers that are running the Configuration Manager Client evaluate mobile device policies and return states of both "applicable" and "compliant." This issue occurs when a user who is assigned a mobile device management policy logs on to the computer.

Software distribution and content management

  • Deleting an application that was previously deployed may cause the SMS Object Replication Manager component to transition to an error state, and errors that resemble the following are logged in the Objreplmgr.log file on the site server:

    *** [23000][547][Microsoft][SQL Server Native Client 11.0][SQL Server]The DELETE statement conflicted with the REFERENCE constraint "CI_CurrentRuleDetail_CIID_FK". The conflict occurred in database "CM_PRI", table "dbo.CI_CurrentRuleDetail", column 'Setting_CI_ID'.~Failed to delete Deployment Type ScopeId_{GUID}/DeploymentType_{GUID}/1 STATMSG: ID=6004 SEV=E LEV=M SOURCE="SMS Server" COMP="SMS_OBJECT_REPLICATION_MANAGER" SYS={SiteSErver} SITE=PRI...


Windows 10 - How to install it using the media creation tool

The media creation tool can be used to upgrade your current PC to Windows 10 or to create a USB or DVD and install Windows 10 on a different PC.

Here’s a quick look at the steps to get Windows 10 installed on your PC using this tool.

Download the tool

Find the media creation tool on the Software download page.

There are two versions of the tool, one for a “32-bit operating system” and one for a “64-bit operating system.” To find out which you have, go to Start, type Control panel, select System and security, and then, under System, look at the value for System type:.

If your PC is a 32-bit operating system, on the Software download page, select Download tool now (32-bit version). If your PC is a 64-bit operating system, select Download tool now (64-bit version).

When you're asked, select Run (or choose to Save the tool if you don't want to run it now).

Full Miscrosoft Article

http://go.microsoft.com/fwlink/p/?LinkId=616447