PowerCLI Reference

New-TrustAuthorityVMHostBaseImage

Synopsis

This cmdlet creates a Trust Authority virtual machine host base image in the Trust Authority vCenter Server system.

Syntax

New-TrustAuthorityVMHostBaseImage [-TrustAuthorityCluster] <TrustAuthorityCluster> [-Confirm] -FilePath <String> [-Server <VIServer[]>] [-WhatIf] [<CommonParameters>]

Related Commands

Online Version
Export-VMHostImageDb
Get-TrustAuthorityVMHostBaseImage
Remove-TrustAuthorityVMHostBaseImage

Detailed Description

This cmdlet creates a Trust Authority virtual machine host base image in the Trust Authority vCenter Server system.

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
TrustAuthorityClusterTrustAuthorityClusterSpecifies the Trust Authority cluster in which you can create a new Trust Authority virtual machine host base image.trueTrue (ByValue)
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 image file that you can use to create a Trust Authority virtual machine host base image. The file is in a .tgz format.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.TrustAuthorityVMHostBaseImage

Notes

Examples

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

Export-VMHostImageDb -VMHost 1.1.1.1 -FilePath c:\mypath -Server workloadSystem
New-TrustAuthorityVMHostBaseImage -TrustAuthorityCluster mycluster -FilePath c:\mypath -Server trustAuthoritySystem

Creates a new Trust Authority virtual machine host base image in the Trust Authority cluster mycluster from the image file c:\mypath. You can export it from a workload host in the workload vCenter Server system.


Copyright © VMware, Inc. All rights reserved.