Showing posts with label mailbox. Show all posts
Showing posts with label mailbox. Show all posts

Saturday, March 18, 2017

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

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 "Domainuser_domain"

otherwise:

New-MailboxExportRequest -Mailbox "TEST, user" -FilePath SERVERNAMEshare_nameTEST.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_BAMESHARE${$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_BAMESHARE$($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 “domainuserdomain  -PSTFolderPath f: ArchiviedPSTArchiviedusers.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 dellarchitettura

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




Available link for download

Read more »

Thursday, February 9, 2017

Exchange 201x How to enable Mailbox logging

Exchange 201x How to enable Mailbox logging


On Exchange is very important to view if there are any strange accesses on other users mailboxes.

Here they are some command lines that works fine on Exchange 2016:

Set-Mailbox -AuditEnabled $true

Get-Mailbox |fl name,AuditEnabled

To view log retention:

Get-Mailbox | fl name,AuditEnabled,AudiLogAgeLimit

If you want to change log retention (default 90 days)

Set-Mailbox -Identity ” -AuditLogAgeLimit numberofdaysto keep

Get-Mailbox -ResultSize Unlimited -Filter {RecipientTypeDetails -eq “UserMailbox”} | Set-Mailbox -AuditLogAgeLimit 180

If you want to enable logging on all mailboxes:

Get-Mailbox -ResultSize Unlimited -Filter {RecipientTypeDetails -eq "UserMailbox"} | Set-Mailbox -AuditEnabled $true

Disable Mailbox logging

Set-Mailbox -AuditEnabled $false

Consider that Mailbox Owner activities are not logged, to enable it you must consider that we will have plenty of auditings:

Set-Mailbox -AuditEnabled $true

Get-Mailbox |fl name,AuditEnabled

Get-Mailbox -ResultSize Unlimited -Filter {RecipientTypeDetails -eq "UserMailbox"} | Set-Mailbox -AuditEnabled $true

Disable the mailbox audit logging:

Set-Mailbox -AuditEnabled $false

Here they are whtat we log with these changes

Original Technet Article

https://technet.microsoft.com/it-it/library/ff459237(v=exchg.160).aspx


Action Description Admin Delegate*** Owner
Copy An item is copied to another folder. Yes No No
Create An item is created in the mailbox. (For example, a message is sent or received.) Note that folder creation isnt audited. Yes* Yes* Yes
FolderBind A mailbox folder is accessed. Yes* Yes** No
HardDelete An item is deleted permanently from the Recoverable Items folder. Yes* Yes* Yes
MailboxLogin The user signed in to their mailbox. No No Yes
MessageBind An item is accessed in the reading pane or opened. Yes No No
Move An item is moved to another folder. Yes* Yes Yes
MoveToDeletedItems An item is moved to the Deleted Items folder. Yes* Yes Yes
SendAs A message is sent using Send As permissions. Yes* Yes* No
SendOnBehalf A message is sent using Send on Behalf permissions. Yes* Yes No
SoftDelete An item is deleted from the Deleted Items folder. Yes* Yes* Yes
Update An items properties are updated. Yes* Yes* Yes

You can get reporting here:





more details :

Microsoft - Enable or disable mailbox audit logging for a mailbox on Exchange 2016

https://technet.microsoft.com/it-it/library/ff461937(v=exchg.160).aspx

Microsoft - Mailbox audit logging in Exchange 2016

https://technet.microsoft.com/it-it/library/ff459237(v=exchg.160).aspx 

Microsoft - Mailbox Audit Logging on Exchange 2010

https://technet.microsoft.com/en-us/library/ff459232(v=exchg.141).aspx

Microsoft - Mailbox Audit Logging on Exchange 2013

https://technet.microsoft.com/en-us/library/ff461939(v=exchg.150).aspx

Available link for download

Read more »

Monday, December 26, 2016

Exchange mailbox recovery and repair

Exchange mailbox recovery and repair


Exchange mailbox recovery and repair




Given the increasing number of transactions that people e-mail these days and the importance of the contents of the e-mail, people need an effective way to get all the messages you send and those who were sent to tackle . For, as already mentioned, if the system is rebellious, it is very confusing, and things would go wrong. Outlook Express is a software that will effectively fulfill the same task, to ensure that things do not go missing or are not missed or misplaced.

Speaking of Outlook Express is one of the best programs developed by Microsoft, up to date. One of his sons helps the user to program your incredible things in a very organized manner. First, the best use of Outlook Express is to write, to compose and e-mail project helps. This was a very effective tool because many people in business to be more efficient by e-mail. Besides this, using Outlook Express, you can also plan your things, notes, calendar attachments about your use to make, etc., there were no other software that has many advantages associated with it, and because the same reason, has become a great success.

There were some problems with Outlook Express, but you need to restore the Exchange mailbox to separate them. There are possibilities of e-mails and files are corrupted, and pull for the same reason, the people, to keep the backup in the form of OST. In fact, it would be good OST file to PST file because it is a better way to do things.

Talking Mailbox Exchange Recovery is required if the Outlook mailbox is damaged or collapsed for several reasons. Now, for each individual contains the e-mail a large number of very important facts, details and other things that, if they have lost, can lead to very different problems. This is the reason why people pay much attention to the restoration of mailboxes to Exchange.

There are a variety of software available on the Internet, that would work for you. The only thing you need is to get through a search engine and find the software you want. After receiving the software, you must install the file. Once the installation file that you downloaded, you must complete the program on your computer and run it. Once you repair Exchange mailbox would be conducted in person and all files and data would be restored.

Keep one thing in mind that the software that you use must come from a reliable source. Otherwise, you run a risk of virus infiltration into the computer, and causes more damage and caused more problems.

EDB to PST is one of the hot issues that people face every day and then this article was written to describe the Rapid Recovery Convert EDB to PST software such as Microsoft Exchange e-mail recovery.
Exchange mailbox recovery and repair

Available link for download

Read more »