Next, I will create a PS drive that will map to a certificate store.
I'll first open Certificate Manager and show you the path where
we will map this new PS drive. Under User Certificates, we will
navigate to root certificates. Here,
we can see a number of root certificates present in this certificate store.
These certificates should be returned when we run Get‑ChildItem
after we have created the PS drive. I'll quickly run New‑PSDrive
command followed by root parameter.
I'll then enter complete path of RootCA certificate store. In PS
provider, I'll enter certificate and I'll name it as RootCA.
The drive is successfully created. When I run Get‑ChildItem
command, all the certificates that we saw earlier through Certificate Manager snap‑in will be listed here.