PowerCLI Reference

Export-TrustAuthorityKeyProviderClientCertificate

Synopsis

This cmdlet exports the client certificate from the specified Trust Authority key provider to the specified file.

Syntax

Export-TrustAuthorityKeyProviderClientCertificate [-KeyProvider] <TrustAuthorityKeyProvider> -FilePath <String> [-Force] [-Server <VIServer[]>] [-TrustAuthorityCluster <TrustAuthorityCluster>] [<CommonParameters>]

Related Commands

Online Version
Get-TrustAuthorityKeyProviderClientCertificate
New-TrustAuthorityKeyProviderClientCertificate

Detailed Description

This cmdlet exports the client certificate from the specified Trust Authority key provider to the specified file.

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
KeyProviderTrustAuthorityKeyProviderSpecifies the Trust Authority key provider from which you can export the client certificate.trueTrue (ByValue)
FilePathStringSpecifies the path to the file where you want to export the client certificate of the specified Trust Authority key provider.trueFalse
ForceSwitchParameterIndicates that the cmdlet overwrites the existing destination files and creates directories to complete the specified file path.falseFalse
ServerVIServer[]Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is given to this parameter, the command runs on the default servers. For more information about default servers, see the description of the Connect-VIServer cmdlet.falseFalse
TrustAuthorityClusterTrustAuthorityClusterSpecifies the Trust Authority cluster where the Trust Authority key provider resides.falseFalse

Return Type

System.IO.FileInfo

Notes

Examples

-------------------------- Example 1 --------------------------

Export-TrustAuthorityKeyProviderClientCertificate -KeyProvider myProvider -FilePath c:\mypath

Exports the client certificate from the Trust Authority key provider myProvider to the c:\mypath file.


Copyright © VMware, Inc. All rights reserved.