1
00:00:00,740 --> 00:00:05,940
In this demo, I will create a new PS drive on the Registry provider.

2
00:00:05,940 --> 00:00:10,440
First, I'll show this path to you from the registry console.

3
00:00:10,440 --> 00:00:15,020
We are going to map the registry key that resides under HKLM,

4
00:00:15,020 --> 00:00:21,740
SOFTWARE, Microsoft, and then PowerShellCore.

5
00:00:21,740 --> 00:00:24,250
I'll start with New‑PsDrive command.

6
00:00:24,250 --> 00:00:31,040
In the root parameter, I'll begin the path with default HKLM PS drive,

7
00:00:31,040 --> 00:00:36,560
followed by SOFTWARE, then Microsoft, then PowerShellCore folder.

8
00:00:36,560 --> 00:00:40,740
in the Registry provider, I'll enter Registry.

9
00:00:40,740 --> 00:00:44,910
I'll name this PS drive as PowerShellCoreRegistry.

10
00:00:44,910 --> 00:00:49,640
I'll then hit Enter, and we can see that the new drive got created.

11
00:00:49,640 --> 00:00:53,100
We can now manage this drive using most of the commands

12
00:00:53,100 --> 00:00:55,740
that we saw earlier in this module.

13
00:00:55,740 --> 00:00:56,650
As of now,

14
00:00:56,650 --> 00:01:03,000
I'll quickly run Get‑ChildItem that will return the subkeys present under this PS drive.

