PowerCLI Reference

Remove-TrustAuthorityKeyProviderServer

Synopsis

This cmdlet removes the specified Trust Authority key provider servers from their location in Trust Authority vCenter Server system.

Syntax

Remove-TrustAuthorityKeyProviderServer [-KeyProviderServer] <TrustAuthorityKeyProviderServer[]> [-Confirm] [-WhatIf] [<CommonParameters>]

Related Commands

Online Version
Add-TrustAuthorityKeyProviderServer
Get-TrustAuthorityKeyProviderServer

Detailed Description

This cmdlet removes the specified Trust Authority key provider servers from their location in Trust Authority vCenter Server system.

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
KeyProviderServerTrustAuthorityKeyProviderServer[]Specifies the Trust Authority key provider servers that you want to remove. You cannot remove all Trust Authority key provider servers from a Trust Authority key provider. A Trust Authority key provider requires at least 1 Trust Authority key provider server.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 --------------------------

$kmipServer = Get-TrustAuthorityKeyProviderServer -KeyProvider mykp | select -Last 1
Remove-TrustAuthorityKeyProviderServer -KeyProviderServer $kmipServer

Removes the last Trust Authority key provider server from the mykp Trust Authority key provider.


Copyright © VMware, Inc. All rights reserved.