WEBVTT

00:00.960 --> 00:07.900
And this lesson will continue with certain selecting and finding different objects for your own it's

00:08.710 --> 00:18.600
all at church and europaeus drive for our purposes to refer to this place try and get some child items

00:18.600 --> 00:21.870
from this folder.

00:22.050 --> 00:27.110
So I'll share it with the name and it will be.

00:27.290 --> 00:37.360
Pierce provider file system and the root of it all will find some folders a lot of files for our testing

00:37.380 --> 00:48.810
purposes so let's find a know dotnet folder and there are a lot of lots of files there and we can manipulate

00:49.200 --> 00:55.050
them and do some different kinds of operations.

00:55.080 --> 01:03.530
So the root of this is Dr. Phil big windows rentals Dot Net framework and so on.

01:03.600 --> 01:07.160
This is for real be our work in folders.

01:07.260 --> 01:12.780
So now let's get to that do it a bit larger.

01:12.950 --> 01:25.670
Let's get child tired old for this newly created Pia's drive for you referred to as by by its name term.

01:26.680 --> 01:40.360
CONAN And let's make a pie get mamber to see what we can do with this with this object.

01:40.510 --> 01:48.790
So as you can see we have different properties some mindsets which could be used on these objects.

01:48.790 --> 02:00.280
Let's let's sort by member type and get on the properties to see what we can do not not do so to see

02:00.280 --> 02:02.540
what scribe's this object.

02:02.560 --> 02:12.790
So there are several properties like land's name full name extension cetera so we can work with its

02:12.790 --> 02:19.860
properties and sort of select the files.

02:20.740 --> 02:26.590
Regarding its properties Let's get child item pipe.

02:26.590 --> 02:35.050
After that who will perform this the next command select object and we want to select object by its

02:35.050 --> 02:36.280
property.

02:36.650 --> 02:48.880
Let's say full name and lands and maybe after that as you can see we get all the full names of the files

02:48.880 --> 03:00.610
from this Pia's drive from this folder and if we want to get an extension we can type Acoma extension

03:00.610 --> 03:11.050
and then we will get an extension of the files which are located in this folder and if we wanted to

03:11.050 --> 03:22.350
have some more properties like Klan's we can add that after coma and space as you can see a lot of a

03:22.360 --> 03:30.550
lot of faction's could be done if you know the property of the file and where to get this property you

03:30.550 --> 03:36.580
can get files specific files which you need.

03:36.700 --> 03:45.490
Now if you want to have some new property you can create it by yourself and you created with the help

03:45.490 --> 03:57.300
of the sign then you open this break its name and that stands for name name will really be equal to

03:57.540 --> 04:02.230
to the name of the colon or of the property you want to create.

04:02.230 --> 04:06.640
I'll give it a name like the size in kilobytes.

04:06.670 --> 04:18.880
Say you want to to to view the property lands in kilobytes So let's create a new property for these

04:18.880 --> 04:29.390
files and it will be named sites and kilobytes and on it it should be done like this.

04:29.390 --> 04:35.930
So you give it a glance and and divide it by 24.

04:36.070 --> 04:47.650
So there's a dollar sign and underscored Daut means that you're if you're the object with which comes

04:48.370 --> 04:56.060
from the pipe which was before so it refers to each object of this pipe.

04:56.320 --> 05:05.590
And if you want to refer to the subject to you you type it like this as you can see we have another

05:05.590 --> 05:11.690
column here which is exactly what we wanted to see.

05:11.690 --> 05:16.920
We wanted to see lengths in kilobytes and we get it.

05:17.560 --> 05:31.080
Let's let me show you another another way of typing this referring to each each object of the piper.

05:31.120 --> 05:32.890
You can type it like this.

05:33.030 --> 05:39.830
You your type dollar sign and item you can select.

05:40.000 --> 05:41.620
You can pick up.

05:41.740 --> 05:55.760
And in my set of type in reference to each item each each object of the pie dollar sign underscore or

05:56.060 --> 05:57.280
dollar sign.

05:57.380 --> 06:00.380
Item.

06:01.010 --> 06:05.080
Let's continue and go even further.

06:05.150 --> 06:05.690
Let me

06:08.500 --> 06:13.320
admins let me sort this.

06:14.130 --> 06:24.060
This results by property name so you can sort by any properties you remember if you want to sort by

06:24.570 --> 06:32.220
extension or Lanz or any other property which this object possesses.

06:32.220 --> 06:42.600
You can sort of like the size in kilobytes you can sort by your new property which you've already just

06:42.600 --> 06:54.550
created and that proves that if you if you create it it has all the qualities of a real object that

06:54.630 --> 07:01.180
you can search by property and you can manipulate it like real objects.

07:01.260 --> 07:11.080
And so let's go even further on that select object and we'll select first 15 items in this long list.

07:11.950 --> 07:24.040
As you can see with it we can see we can find any number we want in first place.

07:24.070 --> 07:33.280
First 15 items last 15 items if you want to see the tail of the results it will give you the tail of

07:33.280 --> 07:34.160
the results.

07:34.240 --> 07:47.500
You can you can also skip some items if you say want to make some man pager or a pager like system for

07:47.500 --> 07:57.630
example in first in first line of your skip first 15 item then you skip and so first 59.

07:57.660 --> 08:00.080
And then you skip first 15 item so.

08:00.150 --> 08:07.930
So to say it will have a pager like system you can skip and then show fills 15.

08:07.930 --> 08:16.250
So if you want to skip just you just type skip 15 items.

08:16.400 --> 08:18.430
Let's move on and let's

08:21.010 --> 08:22.110
let's.

08:22.380 --> 08:31.910
Let me introduce a new comment to their object where object refers to some properties of the object.

08:31.920 --> 08:42.390
For example you want to find two to find all the objects which are greater than 15 kilobytes or you

08:42.390 --> 08:47.500
want to find all the objects Rylance which is.

08:47.880 --> 08:50.520
Which equals 15 kilobytes.

08:50.520 --> 09:02.940
A lot of operations here as you can see and to the most popular are greater than value equals longer

09:02.980 --> 09:05.900
them etc..

09:06.120 --> 09:19.910
So let's find all the objects which are greater than one 10000 kilobytes or whatever you want.

09:20.410 --> 09:33.400
Let's add another zero and we'll get another list of all of this operation.

09:33.510 --> 09:43.820
Let me copy it and you can you can use this vair object by and a property of the object of this set

09:43.920 --> 09:56.060
you can find extensions which are equal to dot Dia lel or dot X or any extension which you want to find.

09:56.060 --> 10:00.910
Right now it's very handy.

10:03.180 --> 10:09.840
Operation you can find whatever you need right now.

10:09.840 --> 10:19.710
Now let's get let's type another command get process and get for example get fields get mamber to see

10:20.490 --> 10:26.480
what properties and methods do we have for that process.

10:28.370 --> 10:30.560
And let's get member for

10:33.560 --> 10:34.070
Paul

10:40.860 --> 10:45.850
Propertius will give us an A.

10:46.290 --> 10:50.340
It was incorrectly.

10:50.410 --> 10:55.960
So let me let me check it and retype it.

10:56.060 --> 10:58.110
Select object to a

11:00.760 --> 11:01.550
property.

11:01.660 --> 11:05.640
Yes that's right again.

11:05.820 --> 11:06.450
Sorry.

11:06.660 --> 11:13.230
Sorry for the child retype it because it wasn't correctly.

11:13.260 --> 11:22.520
So we have to select to get member by its member type property not Massad but property.

11:22.600 --> 11:26.520
We have to see what properties do we have.

11:26.560 --> 11:37.500
Forget ProBusiness and let's say we want to select all the processes and it's virtual memory size which

11:37.500 --> 11:41.490
Prose's consumes how much memory.

11:41.490 --> 11:53.140
So we type got process where where object then does property

11:58.630 --> 12:02.880
and I'll have to compare this property name.

12:02.910 --> 12:06.700
It's quite a long name virtual memory size.

12:11.090 --> 12:23.270
And it should be greater than let's say 2 million or 20 million bytes as you can see we can sort

12:26.180 --> 12:33.760
our Get process results and to get all the results we need.

12:33.860 --> 12:49.770
We need all the proto processes which are greater which consumes more than 20 million kilobytes.

12:49.790 --> 12:59.960
Let's run another command like a good process and see what prophetesses do we have right now running

12:59.990 --> 13:11.150
on the system and let's say we want to find all the processes which which begins with three letters

13:11.390 --> 13:19.730
or some other letters so we can do this type get protests pipe row object then

13:22.390 --> 13:23.650
it's property.

13:33.180 --> 13:46.070
So where object and to its property the name and it should be like starting with as we.

13:46.180 --> 13:55.720
So you have to type property the name and like Desch like that will give us all the names which starts

13:55.720 --> 14:09.610
with as we letters as you can see we can filter freely filter any results with this command where objects

14:09.620 --> 14:11.410
it's very candid.

14:11.410 --> 14:24.400
You can filter the names starters a and any any results which you need right now.

14:24.420 --> 14:41.310
Now let's get child item for temp folder and to select all the objects which are let's say we want to

14:41.310 --> 14:50.940
select different different objects properties to select different object properties you need to write

14:50.940 --> 14:57.850
them down to type them down in break this figure break it's figurative.

14:57.840 --> 14:58.760
Break.

14:59.040 --> 15:08.910
And here you can give some more complicated request for for your objects like extensions should be like

15:08.910 --> 15:18.140
a PLL and it should be like let's say

15:21.830 --> 15:29.780
it should have a name which starts with some specific letters.

15:29.780 --> 15:30.470
Let's say

15:37.490 --> 15:39.490
let me think about it.

15:40.280 --> 15:48.730
Let's say it starts with a letter right and it should be.

15:48.920 --> 15:55.850
It's L'anse should bear more than some some length which you want to find.

15:56.090 --> 15:59.400
Let's say it should be greater than

16:02.940 --> 16:07.890
10000 kilobytes greater or equal.

16:07.930 --> 16:12.960
This means greater or equal.

16:12.960 --> 16:18.790
So you can find objects with this complicated request.

16:18.910 --> 16:22.470
Sorry I have made a mistake.

16:22.690 --> 16:26.060
If you want you can find true just now.

16:26.200 --> 16:31.860
And here it is to stop it to run in your search.

16:31.870 --> 16:35.710
You can press control control see as usual.

16:35.710 --> 16:38.800
And here is my mistake.

16:38.800 --> 16:41.780
I've missed on the score side.

16:42.700 --> 16:44.030
Let's run it once more.

16:44.050 --> 16:52.810
And as you can see it has found all the results which match my request.

16:52.980 --> 16:58.360
Extension is DL and its name has a.

16:58.500 --> 17:05.760
It starts with a letter and its length is greater than 10000 kilobytes.

17:08.870 --> 17:12.320
And I can show you an other method.

17:12.330 --> 17:21.170
Now another way of typing this command if you type it just where without the object it will be working

17:21.170 --> 17:22.470
just fine as well.
