< Back
Get-CSCertificate
Post
NAME Get-CSCertificate
SYNOPSIS
Returns the current used valid PfX certificate.
SYNTAX
Get-CSCertificate [-Type] <String> [-Thumbprint] <String> [<CommonParameters>]
DESCRIPTION
Use this function to get the available pfx certificate respecting the config hierarchy.
PARAMETERS
-Type <String>
Select the current credential store type.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Thumbprint <String>
Provide the credentials thumbprint for the search.
Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
[None]
OUTPUTS
[System.Security.Cryptography.X509Certificates.X509Certificate2]
NOTES
- File Name : Get-CSCertificate.ps1
- Author : Marco Blessing - marco.blessing@googlemail.com
- Requires :
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get-CSCertificate -Type 'Shared' -Thumbprint '12334456'
RELATED LINKS
https://github.com/OCram85/PSCredentialStore
SYNOPSIS
Returns the current used valid PfX certificate.
SYNTAX
Get-CSCertificate [-Type] <String> [-Thumbprint] <String> [<CommonParameters>]
DESCRIPTION
Use this function to get the available pfx certificate respecting the config hierarchy.
PARAMETERS
-Type <String>
Select the current credential store type.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Thumbprint <String>
Provide the credentials thumbprint for the search.
Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
[None]
OUTPUTS
[System.Security.Cryptography.X509Certificates.X509Certificate2]
NOTES
- File Name : Get-CSCertificate.ps1
- Author : Marco Blessing - marco.blessing@googlemail.com
- Requires :
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get-CSCertificate -Type 'Shared' -Thumbprint '12334456'
RELATED LINKS
https://github.com/OCram85/PSCredentialStore