1
00:00:01,840 --> 00:00:07,800
Now a PS drive is a data store location, or in simple words, I can say

2
00:00:07,800 --> 00:00:12,680
it's an entry point to access this specialized data store just like you

3
00:00:12,680 --> 00:00:16,140
would access files and folders of the system.

4
00:00:16,140 --> 00:00:20,600
If you have worked with PowerShell, then at some point in life you might have

5
00:00:20,600 --> 00:00:26,920
used Get‑Item or Get‑ChildItem command to get list of files and folders from

6
00:00:26,920 --> 00:00:32,140
any of the system drive. The command below retrieves all the files and folders

7
00:00:32,140 --> 00:00:35,930
present in C:\Windows\System32 folder.

8
00:00:35,930 --> 00:00:39,110
It is easily understood that the command will fetch files and

9
00:00:39,110 --> 00:00:44,480
folders that resides on the C drive. Now this C drive is a PS

10
00:00:44,480 --> 00:00:49,010
drive that belongs to file system provider.

11
00:00:49,010 --> 00:00:52,870
This C drive acts as an entry point to access everything

12
00:00:52,870 --> 00:00:57,090
that exists in C drive. Similarly,

13
00:00:57,090 --> 00:01:00,840
each partition on the drive has its own PS drive,

14
00:01:00,840 --> 00:01:06,970
so if there are more partitions like D, E, and F, each of

15
00:01:06,970 --> 00:01:11,480
this partition will have its own PS drive using which data

16
00:01:11,480 --> 00:01:14,540
of each drive can be accessed.

17
00:01:14,540 --> 00:01:17,540
This was about file system partition.

18
00:01:17,540 --> 00:01:18,470
Likewise,

19
00:01:18,470 --> 00:01:22,630
there are other PS providers and each PS provider has one

20
00:01:22,630 --> 00:01:29,410
or more PS drives, or in other words, entry points to its data store.

21
00:01:29,410 --> 00:01:35,030
The technique to access data from the data store will be same, that is PS

22
00:01:35,030 --> 00:01:39,840
drive followed by the complete path of the data store.

23
00:01:39,840 --> 00:01:53,000
You can get complete list of PS drives by running Get‑PSDrive command. You can also create custom PS drives which we will see in upcoming modules.

