WEBVTT

00:00.420 --> 00:07.930
Windows partial includes the ability to convert pipeline objects to other forms of data representation.

00:07.980 --> 00:14.940
For example a collection of objects can be converted to an external page or a storm of regnant to comma

00:14.940 --> 00:22.600
separated values or says the format or example bouchal uses two distinct verbs for conversion.

00:22.650 --> 00:25.010
Convert to and export.

00:25.030 --> 00:30.590
Command to that UTIs the verb convert to such as convert to does HDMI.

00:30.760 --> 00:39.070
Except objects as input from the pipeline and producers convert to data that's output to the pipeline.

00:39.180 --> 00:46.080
In other words the data remains in Windows parsha the data could be piped to another command that are

00:46.100 --> 00:50.320
all with the data to a file or manipulated in some other way.

00:50.340 --> 00:59.070
For example get service pipe convert to the cells we wipe out those file services that she has to be

00:59.380 --> 01:06.600
a command that uses expert sigils expert says Vee performs two operations at the same time.

01:06.690 --> 01:14.100
It first converts the data and then it writes the data to external storage that mud that might be a

01:14.100 --> 01:21.050
file on disk for example good service like expert says Field Services DOD says.

01:21.150 --> 01:25.640
So as you can see it took two steps to perform the same operation.

01:25.670 --> 01:29.190
Compare it to the example before expert commands.

01:29.190 --> 01:36.150
Basically combine the functionality of convert through with a command like out file expert commands

01:36.270 --> 01:39.590
do not usually put any output into the pipeline.

01:39.720 --> 01:45.720
Therefore that's an appearance on the screen after an expert command finishes running a key part of

01:45.810 --> 01:52.900
both the operations of the form or the data is changed to something like say a sweet X or mileage Jemal

01:52.920 --> 02:00.730
or another for the data is no longer contained in the structure of three or two objects antigens instead

02:00.840 --> 02:03.630
represented in another forum entirely.

02:03.620 --> 02:10.320
When you convert it to another form data is generally more difficult to manipulate converter data cannot

02:10.320 --> 02:13.820
be easily sorted selected measured and so on.

02:13.920 --> 02:20.980
To see a list of commands run get command this roar convert to Gaumont export the commands that you'll

02:21.000 --> 02:31.020
use most frequently includes the form and convert to convert to a male convert to SML experts and expert

02:31.170 --> 02:33.480
CLX somehow ugly X-amount.

02:33.600 --> 02:39.390
If you are interested in producing more complex management reports by use an extra amount you could

02:39.390 --> 02:42.650
read the free book which is called create an HMO.

02:42.660 --> 02:44.680
Reports in Windows Phone for.

02:44.820 --> 02:50.370
And it's available on Dab-Dab a drive a dirt poor shell dot org slash books.

02:50.370 --> 02:57.990
Now let's talk about pipe in output file windows Parshall's out this file command can accept input from

02:57.990 --> 03:00.520
the pipeline and try that file.

03:00.600 --> 03:07.530
It can render objects into text and uses the same technique that the shell uses to render objects into

03:07.530 --> 03:07.920
text.

03:07.920 --> 03:09.330
For on screen display.

03:09.450 --> 03:16.950
In other words whatever you pipe into out file will be the same as what would have otherwise appear

03:17.070 --> 03:18.060
on the screen.

03:18.060 --> 03:24.950
This behavior differs from converting no expert to object because you are not changing the form of the

03:24.960 --> 03:25.670
object.

03:25.670 --> 03:30.470
Instead the show is capturing what would have appeared on the screen.

03:30.570 --> 03:39.150
Various parameters of out file command enable you to specify a file name to a banned content to an existing

03:39.150 --> 03:43.360
file or to specify character and call them and so on.

03:43.390 --> 03:50.210
Alt file is perhaps the easiest way to move data out of the shell and into external storage.

03:50.220 --> 03:57.690
However because the text files that out file Greed's are usually intended for viewing by person reading

03:57.690 --> 04:04.620
the data back into the shell in any way that enables the data to be manipulated sorted selected measured

04:04.830 --> 04:13.050
and so on is frequently Deif difficult or impractical outfight does not produce any output of its own.

04:13.050 --> 04:17.100
This means that the command does not put objects into the pipeline.

04:17.190 --> 04:23.790
After you run the command you should expect to see no output on the screen as you begin to write more

04:23.790 --> 04:30.720
complex commands in Windows POAs shell will have to become used to keep track of the pipeline's Coltons

04:30.830 --> 04:33.100
as each command to the pipeline Ryons.

04:33.210 --> 04:37.620
The command may produce different output from what was put into you.

04:37.640 --> 04:41.570
Therefore the next command will be working with something different.

04:41.640 --> 04:50.080
For example get service by sort object those properties stators pipe select object property name status.

04:50.130 --> 04:54.800
Why convert to see a reply and the final part out.

04:54.800 --> 04:58.770
File this file path service laserdiscs history.

04:58.770 --> 05:06.300
In this example things file commands in a single command line or pipeline let's review the parts of

05:06.300 --> 05:09.540
this command line after get service runs.

05:09.630 --> 05:17.670
The pipeline contains objects of the type system dush sorry system that service process that service

05:17.670 --> 05:18.550
controller.

05:18.660 --> 05:22.130
These objects have a known set of properties and methods.

05:22.140 --> 05:28.950
The next step after sort object runs the pipeline still contains a Loew's service controller objects

05:29.130 --> 05:37.410
Sarto object produces output that is the same kind of object that was put into after select object runs

05:37.650 --> 05:41.560
the pipeline no longer contains service controller objects.

05:41.640 --> 05:49.200
Instead it contains objects of the type selected dot system that service process dot service controller.

05:49.290 --> 05:56.040
This behavior indicates that the object derived from the regular service controller must have had some

05:56.040 --> 05:58.190
of them members removed.

05:58.230 --> 06:02.940
In this case the objects contain only their name and status properties.

06:03.000 --> 06:09.350
So you could no longer serve them on their display name because that property no longer exists.

06:09.420 --> 06:17.040
After convert to cease fire once the pipeline contains system docstring objects that contain the reformatted

06:17.040 --> 06:24.240
data windows partial could no longer sort of select this object because they have no longer in the key

06:24.250 --> 06:25.700
that kind of object.

06:25.710 --> 06:33.420
And finally after all file runs the pipeline contains nothing therefore nothing will appear on the screen.

06:33.450 --> 06:40.380
After running this complete command when you have a complex multiple command line or pipeline such as

06:40.440 --> 06:43.090
this line you may have to debug it.

06:43.140 --> 06:50.040
If it does not run correctly the first time the best way to debug it is to start with just one command

06:50.220 --> 06:52.210
and see what it produces.

06:52.260 --> 06:55.420
Learn at the second command and see what happens.

06:55.440 --> 07:02.670
Continue to add one command at a time verifying that each one produces the output you expected before

07:02.670 --> 07:04.380
you add the next amount.

07:04.380 --> 07:08.860
Now let's have a practice of converting data to different forms.

07:08.860 --> 07:11.600
Experts in the data to external storage.

07:11.640 --> 07:15.990
First let's convert a list of processes to HMO to do that.

07:15.990 --> 07:20.520
We can run great process pipeline convert to DMA.

07:20.520 --> 07:27.030
Now let's create a file that is named blocks dot HDMI that contains an instrumental formatted list of

07:27.030 --> 07:28.540
groceries to do that.

07:28.620 --> 07:35.570
You could run get process by convert to a pipe out file Prague's dotage to a mile.

07:35.580 --> 07:41.500
You must use these two step approach because Windows shell does not provide an expert the edge Roger

07:41.520 --> 07:42.530
Malcolm out.

07:42.540 --> 07:46.740
Now lets convert a list of services to assist me to do that.

07:46.800 --> 07:50.290
We have to run get service pipe convert to cells.

07:50.400 --> 07:57.420
Now lets create a file that is named server dirt cells that contains a specific formatted list of services

07:57.570 --> 08:00.180
to do that we could use two approaches.

08:00.180 --> 08:08.640
First one gets saurus pipe convert to cells repipe out file serve DOCSIS we or wrong get service pipe

08:08.730 --> 08:14.190
experts says we serve DOCSIS we both commands will have the same result.

08:14.280 --> 08:21.390
And the final example is to open serve God says Vee unmowed Kellton decide whether all the data was

08:21.540 --> 08:26.570
retained to open mode or just run Notebaert serve dulces free.

08:26.730 --> 08:31.740
And please note that some data such as dependent services is missing.

08:31.770 --> 08:38.550
That is because the comma separated railyards just file can and show your article data or nested objects

08:38.790 --> 08:39.880
appropriately.
