Invoke-RASExportCertificate
Last updated
Last updated
Invoke-RASExportCertificate
Exports a certificate to a file.
Invoke-RASExportCertificate [[-] (uint)] [ (string)] [()]
Invoke-RASExportCertificate [-] () [ (string)] [()]
Invoke-RASExportCertificate [[-] (string)] [[-] (uint)] [ (string)] [()]
Exports a certificate to a file.
The name of the Certificate to export.
Site ID of the Certificate to export.
The ID of the Certificate to export.
The Certificate object to export.
To obtain a Certificate object representing a Certificate, use the Get-RASCertificate command."
Target file name and path. Use the '.crt' filename extension to be consistent with Parallels RAS console.
(CommonParameters)
**---------- 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.