Get-PSProvider - PowerShell command help and examples

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


NAME
Get-PSProvider
SYNOPSIS
Gets information about the specified Windows PowerShell provider.
SYNTAX
Get-PSProvider [[-PSProvider] <string[]>] [<CommonParameters>]
DESCRIPTION
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.
PARAMETERS
-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 <CommonParameters> This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer and OutVariable. For more information, type, "get-help about_commonparameters".
INPUTS
None You cannot pipe objects to this cmdlet.
OUTPUTS
System.Management.Automation.ProviderInfo Get-PSProvider returns objects that represent the Windows PowerShell providers in the session.
NOTES

Examples

EXAMPLE 1
C:\PS>get-psprovider
Description
----------- This command displays a list of all available Windows PowerShell providers.
EXAMPLE 2
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".
EXAMPLE 3
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. RELATED LINKS Online version: http://go.microsoft.com/fwlink/?LinkID=113329 about_Providers C:\Windows>powershell get-help New-ItemProperty -full

Microsoft Windows [Version 10.0.19045.3693]
Copyright (c) 2023 Microsoft Corporation.

ColorConsole [Version 3.7.1000] PowerShell 2.0-Export

Windows 11, 10, 8.1, 8, 7 / Server 2022, 2019, 2016











Windows-10


... Windows 10 FAQ
... Windows 10 How To


Windows 10 How To


... Windows 11 How To
... Windows 10 FAQ



PowerShell: Gets information about the specified Windows PowerShell provider.

HTTP: ... PS_Windows/en/Get-PSProvider.htm
0.093
16092
Windows 11: turn off password after standby and hibernation?
Environment variables in the Windows 11, 10, ... Registry!
Welche Registrierungseinstellungen werden gerade geändert?
Set position of current date in calendar?
Rechte, linke, mittlere Maustaste als Hot-Key Funktion verwenden!
How can I switch or customize the Language In DesktopOK?
When you log off on Windows, save desktop icons but restore them manually!
How do I check if Windows 11 virus protection is active?
Dateien von Festplatte öffnen sich nicht sofort?
Difference between intranet and extranet?



(0)