1
00:00:00,940 --> 00:00:01,950
To close out the module,

2
00:00:01,950 --> 00:00:05,820
let me highlight some key points about the PowerShell of the past and

3
00:00:05,820 --> 00:00:12,650
PowerShell of today, that is Windows PowerShell 5.1 and PowerShell 7. Now

4
00:00:12,650 --> 00:00:15,720
as I told you, PowerShell 7 is open source.

5
00:00:15,720 --> 00:00:20,730
You can see everything in the PowerShell repository up on GitHub. Windows

6
00:00:20,730 --> 00:00:25,300
PowerShell is still closed and will probably always be that way,

7
00:00:25,300 --> 00:00:29,940
As you can tell by the name, Windows PowerShell only works on Windows.

8
00:00:29,940 --> 00:00:35,640
PowerShell 7 is cross platform and runs on Windows, Linux, Mac, and much more.

9
00:00:35,640 --> 00:00:38,910
Yes, there are some operating system‑specific differences,

10
00:00:38,910 --> 00:00:43,620
but fundamentally it's the same PowerShell on all platforms. Windows

11
00:00:43,620 --> 00:00:46,990
PowerShell ships with every Windows system, it's just there by

12
00:00:46,990 --> 00:00:51,240
default. PowerShell 7 will need to be installed,

13
00:00:51,240 --> 00:00:54,140
but as you'll see, this is a pretty easy task.

14
00:00:54,140 --> 00:00:56,880
Now I'd like to think that some future versions of Windows was

15
00:00:56,880 --> 00:00:59,370
ship with PowerShell, something by default,

16
00:00:59,370 --> 00:01:02,030
but we'll have to wait and see what happens with that.

17
00:01:02,030 --> 00:01:05,090
Windows PowerShell 5.1 is finished.

18
00:01:05,090 --> 00:01:07,340
What you see is what you get.

19
00:01:07,340 --> 00:01:11,890
Microsoft is no longer developing or even really maintaining Windows PowerShell,

20
00:01:11,890 --> 00:01:14,840
except for anything security related.

21
00:01:14,840 --> 00:01:19,010
I expect you'll find Windows PowerShell on Windows 10 for quite a while,

22
00:01:19,010 --> 00:01:22,580
but it won't change. What you see, what you have now, that's

23
00:01:22,580 --> 00:01:26,460
going to be Windows PowerShell. On the other side of the coin,

24
00:01:26,460 --> 00:01:29,440
PowerShell 7 is under active development.

25
00:01:29,440 --> 00:01:33,440
This is where Microsoft is spending all of their time and money.

26
00:01:33,440 --> 00:01:38,610
Now, what about the PowerShell ISE? That is still around on Windows platforms,

27
00:01:38,610 --> 00:01:42,440
but that, too, is no longer being updated or developed.

28
00:01:42,440 --> 00:01:45,340
If you need an editor for creating scripts,

29
00:01:45,340 --> 00:01:48,190
the recommendation is to use the free Visual Studio

30
00:01:48,190 --> 00:01:50,640
Code application from Microsoft.

31
00:01:50,640 --> 00:01:53,880
The PowerShell ISE will never be able to use PowerShell 7.

32
00:01:53,880 --> 00:01:56,040
You'll need to use VS Code.

33
00:01:56,040 --> 00:02:00,140
You'll find a huge adoption of VS Code in the PowerShell community.

34
00:02:00,140 --> 00:02:01,580
There are other editors out there,

35
00:02:01,580 --> 00:02:03,910
some free, some commercial, so you can find something

36
00:02:03,910 --> 00:02:06,340
that works for you and your budget.

37
00:02:06,340 --> 00:02:09,300
But I do want you to know that the ISE should be considered

38
00:02:09,300 --> 00:02:12,270
deprecated and you'll need to find something that works

39
00:02:12,270 --> 00:02:15,010
with PowerShell 7. And finally,

40
00:02:15,010 --> 00:02:18,970
Windows PowerShell runs in the powershell.exe process and

41
00:02:18,970 --> 00:02:24,100
PowerShell 7 uses pwsh.exe. This is what allows you to run

42
00:02:24,100 --> 00:02:28,940
the two versions side by side.

43
00:02:28,940 --> 00:02:31,270
I know there's a lot to take in in this lesson,

44
00:02:31,270 --> 00:02:34,660
but I think it helps to understand the whys and hows of

45
00:02:34,660 --> 00:02:38,240
PowerShell. PowerShell is one of the most important management

46
00:02:38,240 --> 00:02:40,670
tools that you can learn as an IT pro.

47
00:02:40,670 --> 00:02:42,900
I can't tell you how many people have told me that

48
00:02:42,900 --> 00:02:44,720
they wish they had learned it sooner.

49
00:02:44,720 --> 00:02:47,980
Once you learn the fundamentals, you can apply it everywhere.

50
00:02:47,980 --> 00:02:52,240
Think of my modern management paradigm.

51
00:02:52,240 --> 00:02:55,490
The future of PowerShell is PowerShell 7.

52
00:02:55,490 --> 00:02:59,230
Even if your current job isn't involved with cross‑platform needs,

53
00:02:59,230 --> 00:03:01,140
your next job might be,

54
00:03:01,140 --> 00:03:03,930
and PowerShell 7 has plenty of improvements alone that

55
00:03:03,930 --> 00:03:06,930
warrant moving to it. In the worst case,

56
00:03:06,930 --> 00:03:09,210
if PowerShell 7 can't do something,

57
00:03:09,210 --> 00:03:14,140
you can always jump back into Windows PowerShell to get the job done.

58
00:03:14,140 --> 00:03:15,000
So for now,

59
00:03:15,000 --> 00:03:18,100
after just taking a quick walk around the block to stretch your legs, think

60
00:03:18,100 --> 00:03:21,080
about everything that I've talked about in this module,

61
00:03:21,080 --> 00:03:27,000
and when you come back, we'll look at getting PowerShell 7 installed on your desktop.

