WEBVTT

00:00.450 --> 00:07.560
Because Windows Power Shell has extensive built in help you can frequently learn how to use the command

00:07.590 --> 00:08.990
fairly quickly.

00:09.120 --> 00:14.700
This inclusion of usage examples for that facilitates new command usage.

00:14.700 --> 00:22.260
The trick frequently is then to find the command in the first place what command would you use to set

00:22.260 --> 00:25.610
an IP address on a network adapter.

00:25.620 --> 00:29.960
What command displays mailboxes in exchange server.

00:30.060 --> 00:34.540
What command disables an Active Directory user account.

00:34.620 --> 00:43.620
The help system together with the get command command is actually designed to facilitate command discovery

00:43.800 --> 00:52.980
windows power shell uses the generic term command to refer to come and lets functions workflows applications

00:53.220 --> 00:54.920
and other items.

00:54.930 --> 00:59.810
There are some differences in how these different items are created.

00:59.910 --> 01:04.660
But for now you can consider them to all work in the same way.

01:04.740 --> 01:12.990
First be that march of Windows PowerShares functionality comes from adding modules each of which can

01:12.990 --> 01:19.460
add more commands to the shelf capabilities when it is stored in the correct location.

01:19.470 --> 01:27.400
Windows for Shell can detect these modules even when they are not loaded into memory and can inventer

01:27.400 --> 01:29.550
Is there a whaleboat commands.

01:29.550 --> 01:38.210
This module discovery feature enables help and get command to help you discover Anik command installed

01:38.220 --> 01:39.530
on your computer.

01:39.630 --> 01:48.300
Even if the module that contains that command hasn't yet been loaded into memory when you run a command

01:48.420 --> 01:57.510
whose module hasn't yet been loaded into memory module auto login will implicitly load the module.

01:57.510 --> 02:01.240
This makes the command available for execution.

02:01.240 --> 02:09.700
The GET HELP command accepts wildcard characters notably the asterisk wildcard character.

02:09.780 --> 02:17.940
When you ask for help and to use wildcard characters with a portal command name the shell will display

02:18.060 --> 02:20.500
a list of much help topics.

02:20.520 --> 02:23.700
This helps you find commands by making guesses.

02:23.700 --> 02:28.660
So where do you start Gassan windows Polwarth shells native commands.

02:28.680 --> 02:34.400
There is those built in the shell and add it in through modules.

02:34.410 --> 02:44.470
Follow as three Namen conventions that consist of a verb or a verb like word and a singular noun list

02:44.490 --> 02:53.280
in process's for example is performed by Iranian get Does Prosser's Liston's services is performed by

02:53.430 --> 03:00.690
get dush service cretin and you service is performed by new dish service.

03:00.690 --> 03:09.060
This list of works is managed by Microsoft and can be viewed by Iran and get dush verb command as soon

03:09.060 --> 03:12.370
as you become familiar with this naming convention.

03:12.390 --> 03:16.010
You can start to make good guesses about command names.

03:16.010 --> 03:20.490
Do I need to display a list of mailboxes in exchange server.

03:20.490 --> 03:26.870
Get dush mail box might be a good guess and you can validate that by running.

03:26.950 --> 03:28.560
Help asterisk.

03:28.720 --> 03:36.720
Mailbox asterisk that will find all the commands which contain the word mailbox.

03:36.720 --> 03:43.950
Also note that the command pain in the IAC application can also be used to find commands.

03:43.950 --> 03:52.630
It lists all installed commands alphabetically and lets you type a Barcelo command name to see Merchant

03:52.640 --> 03:53.400
commands.

03:53.400 --> 04:01.380
When you make a command name gas try to stick with just the noun portion and consider just a single

04:01.380 --> 04:10.380
word singular noun for example it wound and log my big good guess is when you are trying to find a command

04:10.410 --> 04:17.300
that works with Windows and locks get command also accepts wildcard characters.

04:17.310 --> 04:20.600
This means that you can run a get command.

04:20.820 --> 04:22.640
Asterisk it wound.

04:22.640 --> 04:23.430
Asterisk.

04:23.550 --> 04:31.960
This command also has two parameters that let you specify a specific verb or noun for example.

04:31.960 --> 04:34.190
Run get command does.

04:34.300 --> 04:35.080
Noun.

04:35.250 --> 04:36.270
Event.

04:36.270 --> 04:40.390
Asterisk or get command DERSE verb.

04:40.500 --> 04:48.840
Get to see a list of commands whose known start with event or a list of commands that you use like get

04:48.960 --> 04:49.610
verb.

04:49.680 --> 04:57.030
Note that not all Tormes identified as verbs are actual English verbs.

04:57.030 --> 05:06.940
For example New is not a or in English language but it is a word Windows for shell uses to describe

05:06.940 --> 05:15.310
the operation of creating something new windows power shell uses the term verbs somewhat loosely in

05:15.310 --> 05:16.440
this respect.

05:16.450 --> 05:23.510
Sometimes you may specify a wildcard search that cannot be fulfilled by a command name.

05:23.620 --> 05:32.410
For example running help asterisk asterisk will not find any commands that have beep in their name.

05:32.470 --> 05:36.410
So their help system will conduct a full text search.

05:36.580 --> 05:44.670
All available command descriptions and synopsis this would locate any help files that contain beer.

05:44.800 --> 05:52.180
If only a single file is found with a match the help system will display it instead of showing a one

05:52.180 --> 05:53.260
item list.

05:53.260 --> 05:59.350
You can also list the command from a particular add in module.

05:59.380 --> 06:06.490
Sometimes you just want to see the commands from a specific module for example if you discover the net

06:06.580 --> 06:12.390
adapter module the name of which implies it works with network adapters.

06:12.490 --> 06:17.530
You may want to see which commands are rendered you can do this by running.

06:17.530 --> 06:26.980
For example get command DERSE model adapter that dush module perimeter restricts the command list to

06:26.980 --> 06:30.990
just those commands in their designated module.

06:31.030 --> 06:38.950
You'll frequently notice that the commands in a given module all share a common short graphics on the

06:38.950 --> 06:47.080
noun part of their command name for example commands in the net adapter module all have nouns that begin

06:47.080 --> 06:48.850
with net adapter.

06:48.910 --> 06:59.010
This non-perfect says help command names to remain unique across modules and help better identify the

06:59.020 --> 07:06.790
specific technology or component that the command to work with you can access a list of all installed

07:06.850 --> 07:15.100
modules by running get dush module Desch list available with the module names in front of you.

07:15.220 --> 07:22.960
You can easily list the commands in each module and to use help to learn how to use each command.
