PowerCLI Reference

Remove-TrustAuthorityVMHostBaseImage

Synopsis

This cmdlet removes the Trust Authority virtual machine host base images from the Trust Authority cluster in the Trust Authority vCenter Server system.

Syntax

Remove-TrustAuthorityVMHostBaseImage [-VMHostBaseImage] <TrustAuthorityVMHostBaseImage[]> [-Confirm] [-WhatIf] [<CommonParameters>]

Related Commands

Online Version
Get-TrustAuthorityVMHostBaseImage
New-TrustAuthorityVMHostBaseImage

Detailed Description

This cmdlet removes the Trust Authority virtual machine host base images from the Trust Authority cluster in the Trust Authority vCenter Server system.

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
VMHostBaseImageTrustAuthorityVMHostBaseImage[]Specifies the virtual machine host base images that you want to remove.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
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.Void

Notes

Examples

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

$baseImages = Get-TrustAuthorityVMHostBaseImage -TrustAuthorityCluster mycluster
Remove-TrustAuthorityVMHostBaseImage -VMHostBaseImage $baseImages

Removes the Trust Authority virtual machine host base images from the Trust Authority cluster mycluster.


Copyright © VMware, Inc. All rights reserved.