WEBVTT

00:00.450 --> 00:07.380
You've already seen several examples of windows power shell commands be in Iran but now it's good time

00:07.380 --> 00:11.700
to focus on the full formal syntax of these commands.

00:11.700 --> 00:15.830
Each command starts with the command name or an alias.

00:15.870 --> 00:25.980
Remember that command names but not necessarily Eliel says take the for verb noun such as get service

00:26.130 --> 00:26.790
verbal.

00:26.850 --> 00:30.280
Most Windows Polwhele shell users do not.

00:30.560 --> 00:34.840
Is the dash and pronouns the command to get service.

00:34.840 --> 00:43.260
No forget that Desch is in there right and get service will not return the result that you expect for

00:43.260 --> 00:47.340
in a command to our 0 or more parameters.

00:47.340 --> 00:48.830
And the full syntax.

00:48.840 --> 00:57.670
Each parameter starts with a dash or hyphen followed by the parameter name space and then the perimeters.

00:57.690 --> 01:00.350
Well you like him get there.

01:00.420 --> 01:03.950
It won't look dush log name application.

01:03.990 --> 01:08.740
The nearest turn does computer name lab does it too.

01:08.850 --> 01:14.430
You should be aware that Windows Shell is not case sensitive in most cases.

01:14.430 --> 01:20.930
Type in a command name and its parameter names and even usually isn't the railyards in food.

01:20.950 --> 01:29.910
Lower case will not make a difference you can use completion in both the console and the icy application

01:30.150 --> 01:36.970
to make Taipan easier to avoid typos and to double check the syntax of the command.

01:36.990 --> 01:39.930
For example try the following.

01:40.020 --> 01:45.190
Pressing the tab key one begin and type in get Desch around.

01:45.210 --> 01:50.070
I'll now press that will complete the command.

01:50.070 --> 02:00.320
There's a little tab that will complete entire blog name a p p tab that will complete and type application.

02:00.330 --> 02:06.320
This new app that will complete and type me with and so on.

02:06.330 --> 02:09.580
So it helps March when you get used to it.

02:09.600 --> 02:17.370
You'll be using tap all the time common names parameter names and even some parameter values can be

02:17.370 --> 02:19.410
completed in this manner.

02:19.530 --> 02:22.640
Do not be confused about parameter names.

02:22.650 --> 02:28.940
For example you could do the common mistake get their Shivan to lock this application.

02:29.010 --> 02:36.590
Here you could probably mean to specify this local name application but has become confused.

02:36.690 --> 02:40.050
Merely provide an application without the dash.

02:40.100 --> 02:47.540
Would also have worked because the log name parameter can accept a value by position.

02:47.580 --> 02:55.270
Here you could make stop that two techniques and specified a non-existent parameter discipline cation

02:55.290 --> 02:59.190
without a well you also pay attention to spaces.

02:59.190 --> 03:03.990
Windows boerewors shell uses the space character as a delimiter.

03:04.020 --> 03:10.240
It separates a command from its parameters and separates parameters from there.

03:10.250 --> 03:13.950
Well here where the shell is expect in this space.

03:13.980 --> 03:20.740
You can actually insert as many as you want to without breaking the command.

03:20.820 --> 03:26.520
However you can not add spaces any place where the shell is not expected it.

03:26.520 --> 03:35.120
For example you can not type get space around log or you cannot type get this event log Desch space

03:35.250 --> 03:37.680
a local name and so on.

03:37.680 --> 03:43.860
These all add spaces where the shell is not expecting them and the commands will not work.
