This is an archive version of the document. To get the most up-to-date information, see the current version.

Get-VBRBackupServerCertificate

Short Description

Returns TLS certificates.

Applies to

Product Edition: Community, Standard, Enterprise, Enterprise Plus, Veeam Universal License

Syntax

This cmdlet provides parameter sets that allow you to:

  • Get the TLS current certificate.

Get-VBRBackupServerCertificate  [<CommonParameters>]

  • Get the TLS certificate from the Microsoft Windows Certificate store.

Get-VBRBackupServerCertificate -FromStore  [<CommonParameters>]

  • Get the TLS certificate from a PFX file.

Get-VBRBackupServerCertificate -Path <string> [-Password <securestring>]  [<CommonParameters>]

Detailed Description

This cmdlet returns the TLS certificates.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

FromStore

If set, the cmdlet will return the TLS certificate present in the local certificate store on this server. If you run the cmdlet without this parameter, it will return the certificate that is currently used.

SwitchParameter

True

Named

False

Path

Specifies a path to the PXF file. The cmdlet will return TLS certificate that are available at this path

String

True

Named

False

Password

Specifies a password for a PXF file.

SecureString

False

Named

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.

Return Type

The cmdlet returns the VBRBackupServerCertificate object that contains TLS certificates.

Get-VBRBackupServerCertificateExample 1. Getting Currently Imported TLS Certificates

Get-VBRBackupServerCertificateExample 2. Getting TLS Certificates from Microsoft Windows Certificate Store

Get-VBRBackupServerCertificateExample 3. Getting Certificates from PFX Files