Get-PSProvider

Get information about a PowerShell provider.

Syntax
      Get-PSProvider [[-psProvider] string[]] [CommonParameters]

Key
   -psProvider 
Name(s) of the Windows PowerShell provider. CommonParameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -WarningAction, -WarningVariable, -OutBuffer -OutVariable.

PowerShell providers let you access a variety of data stores as though they were file system drives. For example the registry provider allows you to map drives to locations in the registry. For information about PowerShell providers, see about_Providers.

Examples

List all available PowerShell providers:

PS C:\> get-psprovider

List PowerShell providers with names that begin with 'f' or 'r':

PS C:\> get-psprovider f*, r* | format-list

Display the snap-in for each Windows PowerShell provider

PS C:\> get-psprovider | format-list name, pssnapin

"Art is a jealous mistress, and, if a man have a genius for painting, poetry, music, architecture, or philosophy, he makes a bad husband, and ill-provider" ~ Ralph Waldo Emerson

Related:

Get-PSDrive - Get drive information (DriveInfo)


© Copyright SS64.com 1999-2014
Some rights reserved