Gets information about the specified Windows PowerShell provider. (Get-PSProvider)



Gets information about the specified Windows PowerShell provider.

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.

-PSProvider <string[]>
Specifies the name or names of the Windows PowerShell providers about which to retrieve information.

Required? false
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".

You cannot pipe objects to this cmdlet.

Get-PSProvider returns objects that represent the Windows PowerShell providers in the session.




# Description
This command displays a list of all available Windows PowerShell providers.


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

# Description
This command displays a list of all Windows PowerShell providers with names that begin with the letter "f" or "r".


C:\PS>get-psprovider | format-table name, module, pssnapin -auto

Name Module PSSnapIn
---- ------ --------
Test TestModule
WSMan Microsoft.WSMan.Management
Alias Microsoft.PowerShell.Core
Environment Microsoft.PowerShell.Core
FileSystem Microsoft.PowerShell.Core
Function Microsoft.PowerShell.Core
Registry Microsoft.PowerShell.Core
Variable Microsoft.PowerShell.Core
Certificate Microsoft.PowerShell.Security

C:\PS> get-psprovider | where {$_.pssnapin -eq "Microsoft.PowerShell.Security"}

Name Capabilities Drives
---- ------------ ------
Certificate ShouldProcess {cert}

# Description
These commands find the Windows PowerShell snap-ins or modules that added providers to your session. All Windows PowerShell elements, including providers, originate in a snap-in or in a module.

These commands use the PSSnapin and Module properties of the ProviderInfo object that Get-PSProvider returns. The values of these properties contain the name of the snap-in or module that adds the provider.

The first command gets all of the providers in the session and formats them in a table with the values of their Name, Module, and PSSnapin properties.

The second command uses the Where-Object cmdlet to get the providers that come from the Microsoft.PowerShell.Security snap-in.

Online version:

C:\Windows>powershell get-help New-ItemProperty -full

ColorConsole [Version 1.7.1000] PowerShell 2.0-Export
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2014 Microsoft Corporation.

OS: Windows 10, 8.1, 8, 7, Vista / Windows Server 2016, 2012, 2008
»»»» ColorConsole

... Home  
... Impressum
... ColorConsole

... CMD
... Netsh-XP
... Netsh-7
... Netsh-Vista
... Powershell
... FAQ
... Online-Games
HTTP: ... PS_Windows/en/Get-PSProvider.htm


Install Windows 10 without Product Key, can I do this?


How can edit or copy very long paths in Vista address bar?


Ausführen von MS Visual C++ 6.0 auf Windows 8.1, 10 und 8!


How can I uninstall the ExperienceIndexOK?


How can I uninstall the File Unlocker ThisIsMyFile?


Q-Dir Explorer View, can I select multiple files by using checkbox?


Find and Run the Computer Management in Windows-7, how to do?


Ich möchte das konto knacken, gibt es hier einen hack, ohne mich neu anmelden,H oder registrieren zu müßen?