PowerCLI Reference

Remove-TrustAuthorityPrincipal

Synopsis

This cmdlet removes the Trust Authority principals from their location in the Trust Authority vCenter Server system.

Syntax

Remove-TrustAuthorityPrincipal [-TrustAuthorityPrincipal] <TrustAuthorityPrincipal[]> [-Confirm] [-WhatIf] [<CommonParameters>]

Related Commands

Online Version
Get-TrustAuthorityPrincipal
New-TrustAuthorityPrincipal

Detailed Description

This cmdlet removes the Trust Authority principals from their location in the Trust Authority vCenter Server system.

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
TrustAuthorityPrincipalTrustAuthorityPrincipal[]Specifies the Trust Authority principals 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 --------------------------

$principals = Get-TrustAuthorityPrincipal -TrustAuthorityCluster mycluster
Remove-TrustAuthorityPrincipal -TrustAuthorityPrincipal $principals

Removes the Trust Authority principals from the mycluster Trust Authority cluster.


Copyright © VMware, Inc. All rights reserved.