All right.
Welcome back.
So in this video I must show you how to get started with Power show and show your commander too.
So we're gonna to the look on the start menu.
We're going to type in power shell and I want you to grab this top on right here.
So we're going to win those power show.
So click on that and what you're going to see here is it's going to show you the sea drive users and
then the name of your machine.
OK.
So the first command that we're going to learn about is called Elyse so Elyse is less so if I type in
class based on where we're at right now it's going to lay out a whole bunch of directories
in the user's folder called learn tech plus.
So 3D objects contacts creative clouds desktop etc.
Now what I want you to do is we're going to change the directory and I'm going to do desktop and hit
tab so and then I'm gonna do Alice again.
OK.
So let's hit Alice.
Now you can see where we're at we're in the desktop because if you look right here.
OK.
This is the directory we're in.
And yes the technical term really is directory.
However in windows they call them folders because it's more simplified.
That's why they call folders.
Which is fine.
So folders.
So the desktop folder has an h t docs shortcut link which you can't see here because it doesn't show
it there.
However if I go and I do see these and I go to documents
if I do see these dot dot what that does is it takes us back one directory and then if I do alas from
there.
OK.
Now I can pick out let's go to documents and if I do I'll ask.
Now you can see a course is a whole bunch of other stuff here.
Now if I do see these again and then do dot dot do alas I do see these and then downloads
and then do alas because that's what we're learning is alas.
Now you can see my downloads list.
And one thing to remember is that this is showing directories here and then files here.
So I'll give you a good example.
So for this example specifically if I go to if I hit the window key and E and what that does is takes
you to the file explorer and then I click on downloads and I right click and I do view and we do list
OK you can see we have the same last so essentially power shall is what is creating these files when
you are doing this.
When you right click and you do new folder and they save that it's not going to show up here.
But if I do list again then it's going to show up there it is vulgar.
And basically what it's doing is when you click on this new folder it's running the script and then
creating that folder.
That way you have it.
Now there are other things I'm not sure how to do as well.
I'll show you how to make a directory but that's gonna be another video.
But now if I delete this lets to delete and then if I do Alas you're going to see that it's not there.
Now another cool command to learn is clear because what that does is that'll clear out your window.
That way you can actually see what you're doing because these lists tend to be long.
So you want to have as much space as possible.
So my scroll at the top there.
Now let's do list again.
Now the other cool thing too is it will give you the time and the date that it was last written on.
And also the length name right here and the size.
So this is the size of the file.
So the zip file is three million two hundred eighty seven now thirty two million in seventy five four
hundred forty nine kilobytes.
That is the after effects.
This one right here.
So I do properties and let's look at the.
There you go so 300 million.
I was way off I thought I was thirty two million.
It's three hundred twenty eight million bytes.
So that's three hundred and thirteen megabytes OK.
But that's what this information is.
It's giving you the detail of the file itself.
Let's look at another one.
So this empty three this one that's money it is seven million bytes.
OK so most of these are gonna be seven figures.
Some of them are eight figures depending on how big the files are.
But that's really the list command.
So again the main purpose of the list command is just to show you what's in that directory.
So in this example the downloads folder we want to see what's in there.
Here we go.
We have twenty one items right.
And if I right click into the properties here I can see what the size is.
OK.
And it's seven hundred and seventy three megabytes.
Now it's not going to give you that information here because the idea of using power Shell is to work
quickly through different directories and do it in a text editor or text environment instead of a g
a gooey graphical user interface.
So this was what originally computers were written on and star written on is command line or terminal
or power show how I want to define it.
This is power show but it was written with the back a black background and white text and everything
was created through there and then they added the gooey to it.
So this is kind of the core of computing.
And if you understand this then everything else becomes really simple because you understand the full
scope and this is what happened to me when I learned Alsace and all these other commands I'm going to
teach you.
Once I learned those it was done for me.
So I'm going to do one more command and this one is gonna be called Exit.
So if we just type an exit and hit enter then that's going to close power show and that's all I have
for this video.
So I'll see you in the next video.
Thanks for watching.