Dealing with PSDrive (Simple)
A few changes have been introduced with respect to files and drives in Windows PowerShell Version 3.0. Windows PowerShell has a built-in drive mechanism for things such as registry, certificate, alias, function, variable, and so on. You can treat these drives as filesystems.
There are some functionality changes when we create a new custom PSDrive using PowerShell Version 3.0. Let's walk through them.
This CMDLET creates a new temporary or persistent drive with various Windows PowerShell provider types.
How to do it...
- You can get the list of default Windows PowerShell providers by executing the following CMDLET:
PS C :\> Get-PSProvider Name Capabilities Drives ---- ------------ ------ Alias ShouldProcess ...