1
00:00:00,940 --> 00:00:05,540
The other thing I want to show you is the new Windows Terminal from Microsoft.

2
00:00:05,540 --> 00:00:06,490
To install this,

3
00:00:06,490 --> 00:00:09,840
you need to go to the Microsoft Store, because this is the only place

4
00:00:09,840 --> 00:00:14,960
where it is currently being delivered or offered, and just do a search

5
00:00:14,960 --> 00:00:21,730
for windows terminal and you'll get the Terminal App to come up here.

6
00:00:21,730 --> 00:00:23,480
Now, I've already installed it,

7
00:00:23,480 --> 00:00:26,720
so you don't have to sit and watch me download an application.

8
00:00:26,720 --> 00:00:31,090
You'll go ahead and install it, I'm just going go ahead and launch it from here.

9
00:00:31,090 --> 00:00:35,430
I have not added it to my shortcuts yet, so I have to‑‑‑

10
00:00:35,430 --> 00:00:37,670
this is a nice and easy way to do it.

11
00:00:37,670 --> 00:00:40,840
Let's go ahead and pop this fullscreen here.

12
00:00:40,840 --> 00:00:40,970
Now,

13
00:00:40,970 --> 00:00:45,300
what you see here, by default, is a tab. It may be a little

14
00:00:45,300 --> 00:00:48,190
hard to read, the font may be a little small, we can adjust

15
00:00:48,190 --> 00:00:49,500
that later if we need to.

16
00:00:49,500 --> 00:00:51,900
This is Windows PowerShell.

17
00:00:51,900 --> 00:00:56,090
If we look at the drop‑down list here, there are other types of

18
00:00:56,090 --> 00:01:01,340
tabs that we can add here, like a cmd window.

19
00:01:01,340 --> 00:01:03,530
There's also something here for Azure Cloud Shell,

20
00:01:03,530 --> 00:01:06,460
which I'm not going to get into because I don't have Azure set up,

21
00:01:06,460 --> 00:01:09,240
but there's also PowerShell.

22
00:01:09,240 --> 00:01:13,040
This is PowerShell 7, as you can see there.

23
00:01:13,040 --> 00:01:15,460
Now, I've already made a change to the settings file.

24
00:01:15,460 --> 00:01:19,740
Let me show you how that works.

25
00:01:19,740 --> 00:01:22,940
You come back down here and go to Settings.

26
00:01:22,940 --> 00:01:23,120
Now,

27
00:01:23,120 --> 00:01:25,690
a lot of the settings are already set for you, and you

28
00:01:25,690 --> 00:01:27,740
don't really have to do too much.

29
00:01:27,740 --> 00:01:31,440
The settings file is a JSON file.

30
00:01:31,440 --> 00:01:32,210
Normally,

31
00:01:32,210 --> 00:01:35,530
you're going to have something like VS Code installed on your computer. So

32
00:01:35,530 --> 00:01:39,610
when you go to settings, VS Code will open up the JSON file,

33
00:01:39,610 --> 00:01:42,450
which is a whole lot easier to work with than Notepad,

34
00:01:42,450 --> 00:01:45,980
which is the only thing I have available to me.

35
00:01:45,980 --> 00:01:48,170
The JSON file is a little complicated,

36
00:01:48,170 --> 00:01:51,940
and you may need some help if you're really needing to fine tune some stuff.

37
00:01:51,940 --> 00:01:55,670
The only change you really have to worry about, if you need to,

38
00:01:55,670 --> 00:01:58,880
is just maybe changing the font size.

39
00:01:58,880 --> 00:02:03,350
And so I went down here and found that PowerShell item, this is the

40
00:02:03,350 --> 00:02:06,220
profile, all these tabs are referred to as profiles in Windows

41
00:02:06,220 --> 00:02:10,390
Terminal, and I just added this element, fontSize.

42
00:02:10,390 --> 00:02:13,290
It's a JSON file, it is case sensitive,

43
00:02:13,290 --> 00:02:19,550
and I changed the fontSize to 20. Again, there are a lot of settings that you

44
00:02:19,550 --> 00:02:23,660
can configure for this, you can make it transparent, you can add graphics, it's

45
00:02:23,660 --> 00:02:27,980
really a cool thing that you can do, but for right now, all I care about is just

46
00:02:27,980 --> 00:02:30,140
making it a little bit easier to read.

47
00:02:30,140 --> 00:02:32,560
Once you make the change and save the file,

48
00:02:32,560 --> 00:02:37,550
the change is immediate and it will be reflected in the Windows

49
00:02:37,550 --> 00:02:42,350
Terminal app. So you can have as many of these windows open as you

50
00:02:42,350 --> 00:02:47,690
want, and when you're done you can just close them. Same thing, I

51
00:02:47,690 --> 00:02:55,320
can just type a dir command, clear the screen, cd to Windows, and

52
00:02:55,320 --> 00:02:58,730
you do have tab completion, by the way, in PowerShell.

53
00:02:58,730 --> 00:03:02,990
So if I wanted to do sys and hit Tab, I can go to the

54
00:03:02,990 --> 00:03:07,840
System32 directory. Go back to the root.

55
00:03:07,840 --> 00:03:08,270
All right,

56
00:03:08,270 --> 00:03:12,650
so that all works the same way, it's just nice with the Windows Terminal

57
00:03:12,650 --> 00:03:17,520
that I can have multiple PowerShell sessions open because I often need to

58
00:03:17,520 --> 00:03:23,030
have Windows PowerShell open and PowerShell 7 open,

59
00:03:23,030 --> 00:03:28,570
and I've got some other customizations done for additional tabs, as well.

60
00:03:28,570 --> 00:03:30,600
I think if you play with the terminal,

61
00:03:30,600 --> 00:03:35,420
you'll like it. When you're done, you can either close it like this or if

62
00:03:35,420 --> 00:03:42,340
you are in a profile, type exit, that closes that profile.

63
00:03:42,340 --> 00:03:50,000
So that is a look at the different ways that you can access PowerShell. Let's go back to the slides and wrap up our lesson.

