Get-VTpmCSR Command | Vmware PowerCLI Reference

Get-VTpmCSR

This cmdlet retrieves the certficate signing requests (CSR) from the given vTPM devices. You can retrive the certificate signing request from the given vTPM devices by specifying the vTPM device and the certificate signing request type (CSRType): RSA, ECC, or All. By default, the certificate signing request type (CSRType) is All.

Syntax

Get-VTpmCSR
-VTpm < VTpm[] >
[-CSRType < CSRType > ]
[-ProgressAction < ActionPreference > ]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
VTpm VTpm[] named
  • pipeline
Specifies the vTPM device from which you want to retrieve the certificate signing request information.
optional CSRType CSRType named
Specifies the signing request type. The valid values are: All, ECC, RSA.
optional ProgressAction ActionPreference named

Output

System.String[]

Examples

Example 1

Get-VTpm -VM MyVM | Get-VTpmCSR

Retrieves all the certificate signing request information from the vTPM device of the virtual machine named "MyVM".

Example 2

Get-VTpm -VM MyVM | Get-VTpmCSR -CSRType ECC

Retrieves the certificate signing request information, whose encryption algorithm is ECC, from the vTPM device of the virtual machine named "MyVM".

Related Commands

VTpm

This cmdlet retrieves the virtual TPM (vTPM) devices available on the given virtual machines.

This cmdlet creates a new vTPM device on the specified virtual machine.

This cmdlet removes the specified vTPM devices.

This cmdlet modifies the properties of the specified vTPM device.

VTpmCSR

This cmdlet retrieves the certficate signing requests (CSR) from the given vTPM devices.

VTpmCertificate

This cmdlet retrieves the certificate information from the given vTPM devices.