1
00:00:02,740 --> 00:00:04,430
As I hope you're realizing,

2
00:00:04,430 --> 00:00:08,050
the best way to learn how to use help is to actually use it.

3
00:00:08,050 --> 00:00:08,440
Remember,

4
00:00:08,440 --> 00:00:10,930
all of my demos are part of the course download, so if you

5
00:00:10,930 --> 00:00:12,260
want to try things out for yourself,

6
00:00:12,260 --> 00:00:17,150
be sure to grab that, or just open a PowerShell prompt and start exploring.

7
00:00:17,150 --> 00:00:19,020
As you explore PowerShell,

8
00:00:19,020 --> 00:00:21,780
you'll see that often all you need to do is just run the command

9
00:00:21,780 --> 00:00:24,660
by its name, like Get‑Process or Get‑Service.

10
00:00:24,660 --> 00:00:30,000
The get commands are generally safe to run, so that's a good place to start.

11
00:00:30,000 --> 00:00:34,040
If the command has a required parameter, PowerShell will prompt you.

12
00:00:34,040 --> 00:00:36,010
Now you can always press Ctrl so you can break out of the

13
00:00:36,010 --> 00:00:38,270
command if you then want to go back and look at the command

14
00:00:38,270 --> 00:00:42,090
help for a bit more detail.

15
00:00:42,090 --> 00:00:45,780
As you work with PowerShell, you'll see that it wants to do stuff.

16
00:00:45,780 --> 00:00:48,120
It wants to complete your command based on the

17
00:00:48,120 --> 00:00:51,590
parameters or information you provide, and this is a nice thing,

18
00:00:51,590 --> 00:00:56,440
because even if you get an error, you might also get a useful result.

19
00:00:56,440 --> 00:00:57,190
However,

20
00:00:57,190 --> 00:01:00,850
if you don't get the result you are expecting, or PowerShell can't

21
00:01:00,850 --> 00:01:04,180
run the command, then you need to go back and read the help and

22
00:01:04,180 --> 00:01:07,450
look at the syntax, look at the examples, look at the parameter

23
00:01:07,450 --> 00:01:09,230
details, look at everything.

24
00:01:09,230 --> 00:01:13,440
There may be an example that leads you down the right path.

25
00:01:13,440 --> 00:01:17,450
And finally, I need to remind you that PowerShell help is not perfect.

26
00:01:17,450 --> 00:01:21,940
Believe it or not, Microsoft can make mistakes.

27
00:01:21,940 --> 00:01:25,820
Some of the PowerShell help, like the syntax, is auto‑generated.

28
00:01:25,820 --> 00:01:28,860
There are advanced ways to use get command to discover command

29
00:01:28,860 --> 00:01:31,840
parameters, but this isn't the course to get into that.

30
00:01:31,840 --> 00:01:32,900
Most of the help, though,

31
00:01:32,900 --> 00:01:36,560
especially the description and examples, are written by people.

32
00:01:36,560 --> 00:01:40,280
I will tell you that this is a hard job, and mistakes, obviously, can happen.

33
00:01:40,280 --> 00:01:43,290
There might be a syntax error in an example,

34
00:01:43,290 --> 00:01:46,150
or maybe a parameter change but the help file hasn't been

35
00:01:46,150 --> 00:01:48,350
updated yet to reflect that change.

36
00:01:48,350 --> 00:01:51,870
Don't get me wrong, I think the quality of PowerShell help is really quite

37
00:01:51,870 --> 00:01:56,810
high, but mistakes and errors can still occur. In the next module, I'll show

38
00:01:56,810 --> 00:02:00,340
you some ways that you might mitigate those challenges,

39
00:02:00,340 --> 00:02:01,090
but really,

40
00:02:01,090 --> 00:02:05,980
the best thing that you can do is try. Run the command. Hopefully you

41
00:02:05,980 --> 00:02:08,870
have a safe test area where you can try things out.

42
00:02:08,870 --> 00:02:14,820
The best way to learn PowerShell is by doing. That wraps it up for this module.

43
00:02:14,820 --> 00:02:17,140
Dive into the help for a few commands that interest you.

44
00:02:17,140 --> 00:02:19,380
Try them out if you can.

45
00:02:19,380 --> 00:02:20,650
Then, stretch your legs,

46
00:02:20,650 --> 00:02:26,000
refill your drink, and come on back for the last part of Getting PowerShell Help!

