< Back
Use-CSCertificate
Post
NAME Use-CSCertificate
SYNOPSIS
Links an existing PFX Certificate to a CredentialStore.
SYNTAX
Use-CSCertificate -Path <String> [-UseCertStore] [<CommonParameters>]
Use-CSCertificate -Path <String> [-CredentialStore <String>] -Shared [-UseCertStore] [<CommonParameters>]
DESCRIPTION
Linking a certificate is needed if you plan to use the same CredentialStore in cross platform scenarios.
PARAMETERS
-Path <String>
Specify the path to the PFX Certificate you want to link for usage.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-CredentialStore <String>
Specify a custom path for a shared credential store.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Shared [<SwitchParameter>]
Use the credential store in shared mode.
Required? true
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-UseCertStore [<SwitchParameter>]
Use the given certificate and import it into the corresponding certificate store.
Required? false
Position? named
Default value False
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
[None]
NOTES
File Name : Use-CSCertificate.ps1
Author : Marco Blessing - marco.blessing@googlemail.com
Requires :
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Use-CSCertificate -Path 'C:\\cert.pfx'
RELATED LINKS
https://github.com/OCram85/PSCredentialStore
SYNOPSIS
Links an existing PFX Certificate to a CredentialStore.
SYNTAX
Use-CSCertificate -Path <String> [-UseCertStore] [<CommonParameters>]
Use-CSCertificate -Path <String> [-CredentialStore <String>] -Shared [-UseCertStore] [<CommonParameters>]
DESCRIPTION
Linking a certificate is needed if you plan to use the same CredentialStore in cross platform scenarios.
PARAMETERS
-Path <String>
Specify the path to the PFX Certificate you want to link for usage.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-CredentialStore <String>
Specify a custom path for a shared credential store.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Shared [<SwitchParameter>]
Use the credential store in shared mode.
Required? true
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-UseCertStore [<SwitchParameter>]
Use the given certificate and import it into the corresponding certificate store.
Required? false
Position? named
Default value False
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
[None]
NOTES
File Name : Use-CSCertificate.ps1
Author : Marco Blessing - marco.blessing@googlemail.com
Requires :
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Use-CSCertificate -Path 'C:\\cert.pfx'
RELATED LINKS
https://github.com/OCram85/PSCredentialStore