PowerCLI Reference

Import-TrustAuthorityServicesInfo

Synopsis

This cmdlet imports the Trust Authority services information (Trust Authority attestation service and Trust Authority key provider service) from the specified file to the workload vCenter Server system.

Syntax

Import-TrustAuthorityServicesInfo [-Confirm] -FilePath <String> [-Server <VIServer[]>] [-WhatIf] [<CommonParameters>]

Related Commands

Online Version
Export-TrustAuthorityServicesInfo

Detailed Description

This cmdlet imports the Trust Authority services information (Trust Authority attestation service and Trust Authority key provider service) from the specified file to the workload vCenter Server system.

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
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
FilePathStringSpecifies the path to the file where you want to import the Trust Authority services information.trueFalse
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

VMware.VimAutomation.Security.Types.V1.TrustedInfrastructure.TAServiceInfo[]

Notes

Examples

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

Import-TrustAuthorityServicesInfo -FilePath c:\mypath

Imports the Trust Authority services information in the c:\mypath file to the connected workload vCenter Server system.


Copyright © VMware, Inc. All rights reserved.