Get-PSProvider - Overview & Examples

April 15, 2018 PowerShell, Get-PSProvider


Gets information about the specified Windows PowerShell provider.


No aliases exist for this cmdlet


Get-PSProvider [[-PSProvider] <String[]>] [<CommonParameters>]


The Get-PSProvider cmdlet gets the Windows PowerShell providers in the current session. You can get a particular drive or all drives in the session.

Windows PowerShell providers let you access a variety of data stores as though they were file system drives. For information about Windows PowerShell providers, see about_Providers.

Real World Examples:

PS C:\WINDOWS\system32> Get-PSProvider
Name                 Capabilities                                                          Drives
----                 ------------                                                          ------
Registry             ShouldProcess, Transactions                                           {HKLM, HKCU}
Alias                ShouldProcess                                                         {Alias}
Environment          ShouldProcess                                                         {Env}
FileSystem           Filter, ShouldProcess, Credentials                                    {C, D, F, G..
Function             ShouldProcess                                                         {Function}
Variable             ShouldProcess                                                         {Variable}

You've successfully subscribed to Command Line Ninja
Great! Next, complete checkout for full access to Command Line Ninja
Welcome back! You've successfully signed in.
Unable to sign you in. Please try again.
Success! Your account is fully activated, you now have access to all content.
Error! Stripe checkout failed.
Success! Your billing info is updated.
Error! Billing info update failed.