1
00:00:01,940 --> 00:00:06,220
PowerShell providers are .NET programs that enables us to access

2
00:00:06,220 --> 00:00:11,440
and manage specialized Windows data stores.

3
00:00:11,440 --> 00:00:13,950
Now, when I say specialized data stores,

4
00:00:13,950 --> 00:00:16,600
it means data other than files,

5
00:00:16,600 --> 00:00:22,590
folders, and documents that resides on a hard drive or shared network path.

6
00:00:22,590 --> 00:00:28,520
Operating system data like Windows Registry, certificate stores play a

7
00:00:28,520 --> 00:00:32,900
significant role in managing OS‑related operations.

8
00:00:32,900 --> 00:00:39,040
PS providers provides a convenient way to access and manage this kind of data.

9
00:00:39,040 --> 00:00:42,420
PS providers enables this data to appear as if they are

10
00:00:42,420 --> 00:00:46,110
stored on a drive and access them just like you would access

11
00:00:46,110 --> 00:00:50,910
a file or a folder on a disk drive.

12
00:00:50,910 --> 00:00:55,140
The data in the provider drive can be managed by built‑in commands.

13
00:00:55,140 --> 00:00:58,990
The built‑in commands can also have custom parameters based on

14
00:00:58,990 --> 00:01:02,540
the type of provider that is being accessed.

15
00:01:02,540 --> 00:01:03,770
For example,

16
00:01:03,770 --> 00:01:09,360
while in the cert provider, which is the PS provider for accessing certificates,

17
00:01:09,360 --> 00:01:11,640
if you run Get‑Item command,

18
00:01:11,640 --> 00:01:16,430
you will see an additional parameter, CodeSigningCert. You won't see this

19
00:01:16,430 --> 00:01:22,060
parameter while accessing other provider data like registry or filesystem.

20
00:01:22,060 --> 00:01:26,760
We'll quickly switch to PowerShell console window and check these

21
00:01:26,760 --> 00:01:32,910
PowerShell providers. In this demo, we'll discover the default PowerShell

22
00:01:32,910 --> 00:01:37,120
providers that are available to us.

23
00:01:37,120 --> 00:01:43,740
I am in the PowerShell console window, and we'll quickly see PowerShell version.

24
00:01:43,740 --> 00:01:47,720
Here, we can see that the OS is Windows 10, and PowerShell

25
00:01:47,720 --> 00:01:55,230
Core version is 7.1.3. I'll clear the screen now. To get the

26
00:01:55,230 --> 00:02:00,740
list of PowerShell providers, I'll run get‑psprovider command.

27
00:02:00,740 --> 00:02:04,180
This will list all default providers that are available on the

28
00:02:04,180 --> 00:02:14,000
system. Here, you can see Drives property under which you can see PS drives associated with each provider.

