WEBVTT

00:05.960 --> 00:13.640
If you have worked with exchange for a long time you have probably used utilities such as X Mirch or

00:13.700 --> 00:23.610
the Exchange 2007 management shell to import and export data between mailboxes and BSD files.

00:23.630 --> 00:28.890
While these tools are very useful for their time they had some limitations.

00:28.940 --> 00:37.610
For example x Murchu was the main important export utility starting with an exchange five point five

00:37.610 --> 00:40.750
and continue on to exchange 2003.

00:40.910 --> 00:49.280
But it was difficult to automate Exchange 2007 including the import mailbox and expert mailbox command

00:49.300 --> 00:49.970
left.

00:50.060 --> 00:55.580
That made it easier to automate these tasks through partial scripts.

00:55.610 --> 01:03.740
Unfortunately the expert mailbox come and let require both 32 bit workstation run in the search to bit

01:03.740 --> 01:14.030
version of the Exchange 2007 management tools and Microsoft Outlook 2003 Service Pack 2 or higher.

01:14.120 --> 01:21.260
With the release of exchange 2010 administrators we were given a new set of command letters that can

01:21.260 --> 01:28.800
be used to manage the import and export operations for exchange mailboxes lease new.

01:28.790 --> 01:33.100
C'mon let's have no dependencies on a management workstation.

01:33.200 --> 01:38.870
And there is no requirement to install Outlook to perform these tasks.

01:38.870 --> 01:48.530
Exchange 2010 introduced a new concept called Mailbox import and export requests that implement this

01:48.770 --> 01:52.520
functionality as a server side process.

01:52.560 --> 02:00.800
In this video you'll learn how to configure your environment and these commands lets to automate mailbox

02:00.890 --> 02:03.620
import and export requests.

02:03.620 --> 02:08.810
Let's look at how to import and export to a mailbox and the following steps.

02:08.930 --> 02:11.870
Let's start off by expert in our mailbox.

02:11.960 --> 02:13.270
PSAT file.

02:13.390 --> 02:19.720
First Syal the mailbox import export role to your account.

02:19.730 --> 02:25.680
You don't live for low income and you'll need to restore the shell after running this command for they

02:25.690 --> 02:26.570
are silent.

02:26.570 --> 02:28.340
Come on let's to be reasonable.

02:28.490 --> 02:33.760
So the command looks like this new management role assignment role mailbox.

02:33.800 --> 02:35.210
Import Export.

02:35.440 --> 02:37.200
User administrator.

02:37.220 --> 02:43.760
Next you'll need to create a network share that can be used to store the pistes file when you create

02:43.760 --> 02:44.620
the share.

02:44.660 --> 02:51.530
Make sure that the exchange trusted subsystem group in Active Directory has at least read and write

02:51.860 --> 02:58.610
NTFS permissions to the folder and also has modified share permissions.

02:58.640 --> 03:07.140
The last step is to use the new mailbox expert to request command left to export the data for a mailbox.

03:07.250 --> 03:14.870
By default the builtin mailbox import export role is not a sign to anyone including administrators.

03:14.870 --> 03:21.730
This means that out of the box you'll not be able to run the mailbox expert request.

03:21.750 --> 03:27.530
C'mon let's even if you are a member of the organization management role group.

03:27.570 --> 03:35.360
Therefore the first step in this process is to assign your account to this role in the new management

03:35.360 --> 03:37.040
role assignment command left.

03:37.180 --> 03:44.600
In this example you can see that we created a direct assignment in the User Account of administrator.

03:44.600 --> 03:51.120
This can be your administrative account or an actual roll group that you are already a member of.

03:51.260 --> 03:58.910
If you need to you can specify the role to be assigned to a role group or an Active Directory security

03:58.910 --> 03:59.590
group.

03:59.730 --> 04:08.050
On the security group parameter will occasionally used for imported and expert that the files must be

04:08.050 --> 04:08.940
a well that.

04:09.040 --> 04:14.620
See path lead exchange trusted subsystem group has access to.

04:14.630 --> 04:22.910
This is because the command lets that your executor are actually running under the security context

04:22.910 --> 04:26.770
or they change servers in this group.

04:26.780 --> 04:35.480
This is required to imply Mandl and you are backed security model and therefore their share and NTFS

04:35.480 --> 04:42.210
Permissions must be assigned to this group and not to your user account specifically.

04:42.380 --> 04:48.000
The syntax for the import and export commands is fairly straightforward.

04:48.170 --> 04:55.130
If you take a look at the command used to the previous example you can see that they are able to easily

04:55.130 --> 05:00.280
create and export request for a specified mailbox.

05:00.380 --> 05:03.830
Use in aspecific file share on the network.

05:03.860 --> 05:11.960
Use an additional parameter truth can do other interesting things such as only experts in specific folders

05:11.960 --> 05:14.120
of a mail box to peers to.

05:14.250 --> 05:16.630
For example you could type the following command.

05:16.650 --> 05:27.450
New mailbox expert request mailbox test user include folders sent items file past contorts so and so

05:27.450 --> 05:27.710
on.

05:27.720 --> 05:31.470
That appears to file exclude dumpster.

05:31.620 --> 05:39.270
As you can see from the list command to your only expert in the San titles well known folder from the

05:39.470 --> 05:47.000
Test User mailbox and we are excluding the items in the dumpster by surrounding the name of the well

05:47.000 --> 05:52.110
known folder with hashes exchange real expert led folder.

05:52.110 --> 06:00.720
Regardless if the folders name and another language there is another sample that expert's data from

06:00.720 --> 06:02.660
an archive mailbox.

06:02.790 --> 06:11.550
You could type in your mailbox export request mailbox test user Guntown filter received later.

06:11.730 --> 06:19.530
Four star general to solve and Fortean file paths can Tulsa and so on archive dot don't.

06:19.600 --> 06:23.820
Pistes exclude dumpster and is.

06:23.970 --> 06:30.870
Here we are specified that we want to only export data from the archive mailbox.

06:30.920 --> 06:34.140
You know there is archive switch parameter.

06:34.140 --> 06:39.960
In addition we are limited in the amount of data exported from the mailbox.

06:40.010 --> 06:47.760
You the content filter parameter we are including all of those items that were received before first

06:47.760 --> 06:49.960
general 2014.

06:49.980 --> 06:57.830
In addition to the received groper to lead content filter parameter allows you to highly customized

06:57.870 --> 07:06.360
the data that is expert and you can create up to 10 mailbox sexpert request or mailbox without manually

07:06.360 --> 07:09.960
specifying a name for really expert requests.

07:10.020 --> 07:17.910
Once you have reached this limit you need to either specify a unique name for the export request or

07:18.150 --> 07:26.520
delete some of the previous expert requests using the remove mailbox export request command led using

07:26.520 --> 07:35.100
the Contemp filter parameter you filter the recipient types of attachments that are included in a message

07:35.400 --> 07:41.670
text in the body and more for a complete list of whaleboat property names.

07:41.670 --> 07:48.410
Check out the filter rebuild properties for the content filter parameter on tech Nat.

07:48.510 --> 07:57.690
You can use the get mailbox import request and Matt get mailbox export request command lads to view

07:57.690 --> 08:05.460
the status of your import and export desk's to view all requests simply simpler the appropriate get

08:05.780 --> 08:09.150
command lands if you want to narrow your search.

08:09.180 --> 08:17.370
You can use the mailbox and status parameters for example get mailbox export request mail box.

08:17.520 --> 08:20.320
Test User status failed.

08:20.340 --> 08:28.050
This command will return all of the expert requests made for the test user mailbox that can have a failed

08:28.050 --> 08:28.980
status.

08:29.040 --> 08:35.550
You can use the same syntax for the import version of this command led to reviews similar information

08:35.880 --> 08:41.100
when it comes to advance report him of import or export request.

08:41.100 --> 08:44.630
There are two command lets available that you can use.

08:44.760 --> 08:52.040
Get mailbox export requests to two sticks and get mailbox import request to sticks.

08:52.050 --> 09:00.330
Those can be used to provide detailed information about the tasks associated with particular operation.

09:00.330 --> 09:07.230
For example let's take a look at the following script for foreach expert variable in get mailbox expert

09:07.230 --> 09:08.150
request.

09:08.280 --> 09:17.850
Get mailbox expert requester sticks for expert variable and then pipe it to select object source as

09:17.880 --> 09:25.180
status and sound complete Lisburne Wyat a brief report of each export request.

09:25.200 --> 09:32.100
This can be useful when you are performing multiple import or export operations and need to check the

09:32.100 --> 09:34.310
status of each one.

09:34.650 --> 09:41.970
When it comes to important data into mailboxes then you mailbox import request command letter works

09:42.060 --> 09:46.390
similar to a new mailbox export request come on.

09:46.590 --> 09:52.430
Most of the parameters shown in the previous examples are available both for.

09:52.430 --> 10:01.410
C'mon let's for example we can import data into a specific folder in an X import box with the following

10:01.470 --> 10:02.550
command.

10:02.640 --> 10:04.930
Mailbox import request.

10:04.940 --> 10:17.800
Mail books that men for the folder recover file past contorts the dash x 0 1 expert test user underskirt

10:18.180 --> 10:25.630
sound that pasted this command to impersonate test user bursty into the recover folder of the admin

10:25.630 --> 10:26.670
mailbox.

10:26.740 --> 10:35.470
In addition to expert data from archive mailboxes we can also import data into archive mailboxes where

10:35.470 --> 10:38.270
there is archives which parameter.

10:38.350 --> 10:45.980
Now lets greatest group that will export all of the mailboxes in your organization to individual besty

10:46.030 --> 10:49.310
files stored in a central location.

10:49.360 --> 10:51.880
Create a new file called Roxburgh dog.

10:51.900 --> 10:55.740
P.S. WAHM and save it in the C drive.

10:55.740 --> 10:57.230
Use using a text editor.

10:57.250 --> 11:06.480
Open the file and add the following code and then save the file you can use for these purposes as well.

11:06.610 --> 11:14.400
The script looks like this we are using foreach loop and a few parameters in the new mailbox sexpert

11:14.410 --> 11:15.840
request command.

11:15.850 --> 11:23.020
This group provides a couple of parameters to use to control the behavior of the mailbox export requests.

11:23.080 --> 11:31.690
First the best parameter it will allow us to specify the usage share for our expert to mailboxes.

11:31.720 --> 11:39.850
Secondly the batch name parameter it's used to logical a group that export requests Yulun a friendly

11:39.850 --> 11:43.540
common name as we loop through each mailbox.

11:43.540 --> 11:51.940
We are doing a few things we are using the value of the first parameter as the root directory of the

11:51.940 --> 11:59.110
piston file and we are using the alias property for the mailbox for the base file name.

11:59.110 --> 12:07.730
This will ensure that each bursty file is stored centrally in the required location using a unique file

12:07.730 --> 12:11.030
name that matches the mailbox.

12:11.190 --> 12:19.600
To run the script the command my look something like live Folarin Bachche wearable equals expert for

12:19.810 --> 12:28.000
get day to short dextrin and very specified pass and beshe name will create each mailbox sexpert request

12:28.460 --> 12:33.940
on a batch name such as export for Ambriel get the date here.

12:34.090 --> 12:41.200
Then you can easily check the status of all the mailbox export requests that are grouped into that batch

12:41.200 --> 12:44.140
name used and the following command.

12:44.170 --> 12:49.910
Got mailbox sexpert requested sticks and pipe it to their object command.

12:50.020 --> 12:54.620
Land animals select service Eliel status and percent complete.

12:54.640 --> 13:01.330
This one liner will give you a brief report on the age of the experts request performed and the badge

13:01.630 --> 13:04.120
graded on your date.

13:04.120 --> 13:13.170
The report can be reviewed in the shell and expert to text or CXXVI file or e-mail to another user.
