PowerShell PKI Module Documentation
Documentation HomeGet-CryptographicServiceProvider
Synopsis
Retrieves a list of Cryptographic Service Providers (CSP) installed on the system.
Syntax
Get-CryptographicServiceProvider [[-Name] <String>] [<CommonParameters>]
Description
Retrieves a list of Cryptographic Service Providers (CSP) installed on the system with extended properties. This command supports both, legacy (also known as CryptoAPI) and Key Storage (KSP) providers (known as CAPI2 or CNG providers). This command displays supported cryptographic algorithms, possible key sizes and used protocol (for example, signing, hashing, encryption, etc).
Parameters
-Name <String>
Specifies Cryptographic Service Provider (CSP) or Key Storage Provider (KSP) name to retrieve.
Required? | False |
Position? | 0 |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, InformationAction, InformationVariable,
WarningAction, WarningVariable, OutBuffer, PipelineVariable and OutVariable.
For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
Inputs
None.
Outputs
SysadminsLV.PKI.Cryptography.CspProviderInfoCollection
Notes
Examples
Example 1
PS C:\> Get-CryptographicServiceProvider
Returns all installed CSPs with their extended properties.
Related links
Minimum PowerShell version support
- Windows PowerShell 3.0
Operating System Support
- Windows 7
- Windows 8
- Windows 8.1
- Windows 10
- Windows 11
- Windows Server 2008 R2 all editions
- Windows Server 2012 all editions
- Windows Server 2012 R2 all editions
- Windows Server 2016 all editions
- Windows Server 2019 all editions
- Windows Server 2022 all editions