1
00:00:00,940 --> 00:00:04,130
Now I know some people have never been near a command prompt of

2
00:00:04,130 --> 00:00:07,860
any type, and for Windows admins that kind of makes sense, the

3
00:00:07,860 --> 00:00:09,590
product is called Windows after all,

4
00:00:09,590 --> 00:00:12,800
but still, let me show you how easy it is to get into a

5
00:00:12,800 --> 00:00:15,240
PowerShell session and move around.

6
00:00:15,240 --> 00:00:15,610
Okay,

7
00:00:15,610 --> 00:00:19,950
so back in Windows 10, running PowerShell 7 is really no different than

8
00:00:19,950 --> 00:00:23,240
any other application that you've installed in Windows.

9
00:00:23,240 --> 00:00:28,670
I can come here to the little Start icon and find it. Now,

10
00:00:28,670 --> 00:00:30,810
because I've just recently used it, you know,

11
00:00:30,810 --> 00:00:34,750
I have it up here, I can just click it and it will actually run it, it's

12
00:00:34,750 --> 00:00:39,300
not that hard. Close that. I could also come here to the search box and

13
00:00:39,300 --> 00:00:43,740
start typing pwsh. You can see it pops right up.

14
00:00:43,740 --> 00:00:49,570
I can go ahead and open it there. Or, I can do the run box

15
00:00:49,570 --> 00:00:54,440
and do pwsh, and again, it also will run.

16
00:00:54,440 --> 00:00:58,760
So that's all very easy to do. Now, one thing that I tend to do,

17
00:00:58,760 --> 00:00:59,460
though,

18
00:00:59,460 --> 00:01:03,120
and which I don't think I've done on this system, is I'm going to do two things.

19
00:01:03,120 --> 00:01:03,840
One,

20
00:01:03,840 --> 00:01:07,030
I'm going to come back up here and I'm going to pin

21
00:01:07,030 --> 00:01:09,530
this to the Start menu so it's here,

22
00:01:09,530 --> 00:01:16,840
and I'm going to go here and also I want to pin it to the task bar.

23
00:01:16,840 --> 00:01:22,340
That way I also have it down here, and I can get to it whenever I need it.

24
00:01:22,340 --> 00:01:28,440
So now I can come here and I can click it and run.

25
00:01:28,440 --> 00:01:30,830
So, what I want to now here though is I want to show you how

26
00:01:30,830 --> 00:01:33,500
to customize that because I'm betting that is kind of hard

27
00:01:33,500 --> 00:01:36,040
for you to see on the screen.

28
00:01:36,040 --> 00:01:41,140
So we'll come up here to this little menu, and we'll come here to

29
00:01:41,140 --> 00:01:45,010
Properties. Now a lot of these are set by default and most of them

30
00:01:45,010 --> 00:01:52,220
you can keep. I like using the Ctrl+C/Ctrl+V for copy and paste, so

31
00:01:52,220 --> 00:01:56,960
I'm going to go ahead and turn that on. For the font, I'm going to

32
00:01:56,960 --> 00:02:01,090
bump my font up to, let's say 24, make it nice and big,

33
00:02:01,090 --> 00:02:05,070
nice and easy to read, especially on high‑resolution monitors.

34
00:02:05,070 --> 00:02:08,440
That's a nice thing to do these days.

35
00:02:08,440 --> 00:02:10,240
Now for the layout,

36
00:02:10,240 --> 00:02:13,360
I'm going to kind of keep it 120 characters across because lots of

37
00:02:13,360 --> 00:02:17,860
information that we're going to get in PowerShell. And we'll try

38
00:02:17,860 --> 00:02:20,490
the height, I guess I'll leave that at 30. We'll see how that

39
00:02:20,490 --> 00:02:23,030
goes. Now colors, if you want,

40
00:02:23,030 --> 00:02:26,550
you can change the colors. If you wanted to change the

41
00:02:26,550 --> 00:02:29,250
background or the foreground colors,

42
00:02:29,250 --> 00:02:31,770
I'm going to kind of leave mine the dark color.

43
00:02:31,770 --> 00:02:34,320
Eventually I'll make it full screen and it will be a little bit easier to

44
00:02:34,320 --> 00:02:37,590
read. And then the last thing you can do here is there are some other

45
00:02:37,590 --> 00:02:42,730
customizations that you can do for the terminal, but I'm going to leave

46
00:02:42,730 --> 00:02:46,340
those alone. And let's just click OK,

47
00:02:46,340 --> 00:02:48,600
and I'll double‑click up there. So hopefully that

48
00:02:48,600 --> 00:02:51,080
is a little bit easier to read.

49
00:02:51,080 --> 00:02:57,800
Those settings should be maintained, so if I close this and open this up again,

50
00:02:57,800 --> 00:03:02,140
I get the same settings. We'll just kind of maximize the window there.

51
00:03:02,140 --> 00:03:07,180
Now, one thing I want to point out is that there are two ways,

52
00:03:07,180 --> 00:03:09,880
like with everything in Windows, of running

53
00:03:09,880 --> 00:03:13,040
applications. You can run it non‑elevated,

54
00:03:13,040 --> 00:03:18,210
which is what I've done now. I'm logged on as artd, and you can see that he's

55
00:03:18,210 --> 00:03:23,410
just a regular user, and I know that because the title bar just shows me

56
00:03:23,410 --> 00:03:30,150
PowerShell 7. To run in an elevated session, any of the PowerShell 7

57
00:03:30,150 --> 00:03:34,820
shortcuts, there's an option here to Run as Administrator. This will give you

58
00:03:34,820 --> 00:03:39,990
the UAC prompt, so go ahead and say Yes.

59
00:03:39,990 --> 00:03:43,020
Now, this is technically a slightly different shell,

60
00:03:43,020 --> 00:03:47,540
so I'm going to go back here and reset my properties.

61
00:03:47,540 --> 00:03:49,540
Let's set that that way.

62
00:03:49,540 --> 00:03:57,440
Let's make the font 24, and I think that's all I need.

63
00:03:57,440 --> 00:04:01,230
Now, I'm still logged on as artd, I can kind of prove

64
00:04:01,230 --> 00:04:03,670
that. Let's type a whoami command,

65
00:04:03,670 --> 00:04:06,880
So I'm still logged on as art, but notice up here, the

66
00:04:06,880 --> 00:04:10,440
title bar now shows Administrator.

67
00:04:10,440 --> 00:04:13,790
There are some things that you'll be doing in PowerShell that will

68
00:04:13,790 --> 00:04:17,890
require you to run in an elevated session, if you're going to be

69
00:04:17,890 --> 00:04:21,730
manipulating the registry or accessing certain things with PowerShell

70
00:04:21,730 --> 00:04:25,740
remoting, eventually you'll need to be running as administrator. And

71
00:04:25,740 --> 00:04:30,650
the way that you can tell is look for that Administrator keyword up

72
00:04:30,650 --> 00:04:32,540
there in the title bar.

73
00:04:32,540 --> 00:04:39,310
All right, so that is a quick look at configuring PowerShell.

74
00:04:39,310 --> 00:04:45,200
Let's go ahead now, and let me clear the screen, and let's, well, let me

75
00:04:45,200 --> 00:04:55,000
clear the screen the right way by typing cls, and let me show you some ways that you can navigate and work with PowerShell 7.

