1
00:00:01,040 --> 00:00:03,330
So far, we've been working with modules

2
00:00:03,330 --> 00:00:05,350
that are pre‑installed on a Windows 10

3
00:00:05,350 --> 00:00:07,810
machine, and you've got a good handle on

4
00:00:07,810 --> 00:00:09,790
the nuts and bolts of how PowerShell deals

5
00:00:09,790 --> 00:00:12,610
with modules when they're installed. Now

6
00:00:12,610 --> 00:00:15,000
it's time to really dig into exploring and

7
00:00:15,000 --> 00:00:17,420
working with new PowerShell modules that

8
00:00:17,420 --> 00:00:18,930
aren't installed on our machines by

9
00:00:18,930 --> 00:00:22,060
default. First up, we need to spend a few

10
00:00:22,060 --> 00:00:24,170
minutes covering package management and

11
00:00:24,170 --> 00:00:26,290
repositories. We'll talk through the key

12
00:00:26,290 --> 00:00:27,930
components of this framework that you

13
00:00:27,930 --> 00:00:29,710
should know about as you go forward in

14
00:00:29,710 --> 00:00:31,900
your journey with PowerShell. The

15
00:00:31,900 --> 00:00:34,100
installation and management of modules are

16
00:00:34,100 --> 00:00:35,840
built on top of the package management

17
00:00:35,840 --> 00:00:38,120
framework, and you'll need to interface

18
00:00:38,120 --> 00:00:40,850
with repositories because, well, that's

19
00:00:40,850 --> 00:00:42,890
the locations that you'll be looking in to

20
00:00:42,890 --> 00:00:45,990
find new modules and code. From there,

21
00:00:45,990 --> 00:00:48,110
we'll be back into the hands‑on, starting

22
00:00:48,110 --> 00:00:50,770
with finding and installing modules. Once

23
00:00:50,770 --> 00:00:52,910
you've got a module installed, the author

24
00:00:52,910 --> 00:00:54,610
will no doubt release updates to the

25
00:00:54,610 --> 00:00:57,450
module over time, so you'll need to know

26
00:00:57,450 --> 00:00:59,510
how to update a module that's already been

27
00:00:59,510 --> 00:01:02,240
installed. When you're finished working

28
00:01:02,240 --> 00:01:04,360
with a module, whether that be in your

29
00:01:04,360 --> 00:01:06,850
current PowerShell session or if you want

30
00:01:06,850 --> 00:01:08,470
a fully uninstall it from your computer,

31
00:01:08,470 --> 00:01:10,850
there's a process to follow for doing

32
00:01:10,850 --> 00:01:12,630
that, and I'll walk you through each of

33
00:01:12,630 --> 00:01:14,520
those when we cover removing and

34
00:01:14,520 --> 00:01:17,710
uninstalling modules. To wrap up, I want

35
00:01:17,710 --> 00:01:19,470
to show you the process of installing a

36
00:01:19,470 --> 00:01:21,710
module on a computer that does not have

37
00:01:21,710 --> 00:01:24,500
network connectivity to a repository, such

38
00:01:24,500 --> 00:01:26,860
as the PowerShell Gallery. There are

39
00:01:26,860 --> 00:01:28,730
plenty of companies that limit outbound

40
00:01:28,730 --> 00:01:31,480
internet access, and there are situations

41
00:01:31,480 --> 00:01:33,200
where machines just don't have any

42
00:01:33,200 --> 00:01:35,180
internet access at all, but you still need

43
00:01:35,180 --> 00:01:41,000
to install the module on those machines to achieve a particular task. Let's dive in.

