PowerCLI Reference

Export-TrustAuthorityServicesInfo

Synopsis

This cmdlet exports the Trust Authority services information (the Trust Authority attestation service and Trust Authority key provider service) from the specified Trust Authority cluster to the specified file.

Syntax

Export-TrustAuthorityServicesInfo [-TrustAuthorityCluster] <TrustAuthorityCluster> [-FilePath] <String> [-Confirm] [-Force] [-Server <VIServer[]>] [-WhatIf] [<CommonParameters>]

Related Commands

Online Version
Import-TrustAuthorityServicesInfo
Get-TrustAuthorityAttestationService
Get-TrustAuthorityKeyProviderService

Detailed Description

This cmdlet exports the Trust Authority services information (the Trust Authority attestation service and Trust Authority key provider service) from the specified Trust Authority cluster to the specified file.

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
TrustAuthorityClusterTrustAuthorityClusterSpecifies the Trust Authority cluster where you can export the the Trust Authority services information.trueTrue (ByValue)
FilePathStringSpecifies the path to the file where you want to export the Trust Authority services information from the specified Trust Authority cluster.trueFalse
ConfirmSwitchParameterIf the value is $true, indicates that the cmdlet asks for confirmation before running. If the value is $false, the cmdlet runs without asking for user confirmation.falseFalse
ForceSwitchParameterIndicates that the cmdlet overwrites the existing destination files and creates directories to complete the specified file path.falseFalse
ServerVIServer[]Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is given to this parameter, the command runs on the default servers. For more information about default servers, see the description of the Connect-VIServer cmdlet.falseFalse
WhatIfSwitchParameterIndicates that the cmdlet is run only to display the changes that would be made and actually no objects are modified.falseFalse

Return Type

System.IO.FileInfo

Notes

Examples

-------------------------- Example 1 --------------------------

Export-TrustAuthorityServicesInfo -TrustAuthorityCluster mycluster -FilePath c:\mypath

Exports the Trust Authority services information (the Trust Authority attestation service and Trust Authority key provider service) from the mycluster Trust Authority Cluster to the c:\mypath file.


Copyright © VMware, Inc. All rights reserved.