Export-TrustAuthorityKeyProviderClientCertificate

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

Syntax

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

Parameters

Required Parameter Name Type Position Features Description
required
FilePath
String named Specifies the path to the file where you want to export the client certificate of the specified Trust Authority key provider.
required
KeyProvider
TrustAuthorityKeyProvider named
  • pipeline
  • Specifies the Trust Authority key provider from which you can export the client certificate.
    optional
    Force
    SwitchParameter named Indicates that the cmdlet overwrites the existing destination files and creates directories to complete the specified file path.
    optional
    Server
    VIServer[] named Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is provided or $null value is passed to this parameter, the command runs on the default servers. For more information about default servers, see the description of the Connect-VIServer cmdlet.
    optional
    TrustAuthorityCluster
    TrustAuthorityCluster named Specifies the Trust Authority cluster where the Trust Authority key provider resides.

    Output

    System.IO.FileInfo

    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.

    Related Commands

    Feedback

    Was this page helpful?