WEBVTT

00:00.450 --> 00:05.670
Most Windows partial commands do not generate text as output.

00:05.670 --> 00:13.950
Instead they generate objects or object is a generic word that describes the kind of in-memory data

00:13.950 --> 00:22.260
structure you can imagine command output looking like a table or a Microsoft or Microsoft Office Excel

00:22.260 --> 00:29.580
spreadsheet and windows Polish shell terminology the table or spreadsheet is a collection of objects

00:29.790 --> 00:32.050
or just collection for a shot.

00:32.070 --> 00:37.540
Each row is a single object and each one is a property.

00:37.680 --> 00:43.500
When you run get service like a command produces a collection of service objects.

00:43.500 --> 00:48.870
Each has properties like name display name status and so on.

00:48.960 --> 00:57.420
Windows for shells use of object is very different from all the command line shells whose commands primarily

00:57.450 --> 01:00.310
generate text in a text base.

01:00.450 --> 01:07.470
Suppose that you wanted to put in a list of all services that were started you might run a command to

01:07.470 --> 01:16.620
produce a text list of services you and you would then BYB that text to a second command by using parameters

01:16.620 --> 01:25.410
to define a particular call and position that contained status information if the output of the first

01:25.740 --> 01:33.240
command ever changed and the status information moved you'd have to write the second command to have

01:33.240 --> 01:35.210
the new position information.

01:35.250 --> 01:40.300
So text based shells frequently require great skill risks.

01:40.330 --> 01:48.330
Barsoom this makes scripting languages such as Perl popular because it offers strong text parson and

01:48.330 --> 01:52.000
text manipulation features in Windows for Shell.

01:52.050 --> 02:00.700
Just tell the shell to produce a collection of service objects and to then display only the name property.

02:00.780 --> 02:07.710
The structure of the objects in memory enables the shell to find the information for you instead of

02:08.010 --> 02:16.950
you having to worry about the exed exact form or the command output working with objects is much easier

02:17.190 --> 02:19.080
and gives you much more.
