Invoke-RASExportCertificate

NAME

Invoke-RASExportCertificate

SYNOPSIS

Exports a certificate to a file.

SYNTAX

Invoke-RASExportCertificate [[-Idarrow-up-right] <uint>] [-FilePatharrow-up-right <string>] [<CommonParametersarrow-up-right>] Invoke-RASExportCertificate [-InputObjectarrow-up-right] <Certificatearrow-up-right> [-FilePatharrow-up-right <string>] [<CommonParametersarrow-up-right>] Invoke-RASExportCertificate [[-Namearrow-up-right] <string>] [[-SiteIdarrow-up-right] <uint>] [-FilePatharrow-up-right <string>] [<CommonParametersarrow-up-right>]

DESCRIPTION

Exports a certificate to a file.

PARAMETERS

-Name <string> The name of the Certificate to export.

        Required?                    false
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-SiteId <uint> Site ID of the Certificate to export.

-Id <uint> The ID of the Certificate to export.

-InputObject <Certificatearrow-up-right> The Certificate object to export. To obtain a Certificate object representing a Certificate, use the Get-RASCertificate command."

-FilePath <string> Target file name and path. Use the '.crt' filename extension to be consistent with Parallels RAS console.

<CommonParameters>

INPUTS

Certificatearrow-up-right

OUTPUTS

RASFilesarrow-up-right

EXAMPLES

---------- EXAMPLE 1 ---------- Invoke-RASExportCertificate -Name MyCertificate -FilePath "C:\myCertificate.crt" Exports the certifcate named MyCertificate to the specified file. ---------- EXAMPLE 2 ---------- Invoke-RASExportCertificate -Id 1 -FilePath "C:\myCertificate.crt" Exports the certifcate with Id 1 to the specified file.

Last updated