PowerCLI Reference

Remove-TrustAuthorityKeyProviderServerCertificate

Synopsis

This cmdlet removes the specified Trust Authority key provider server certificates from their location. The certificate is no longer trusted by the Trust Authority key provider in the Trust Authority vCenter Server system.

Syntax

Remove-TrustAuthorityKeyProviderServerCertificate [-ServerCertificate] <TrustAuthorityKeyProviderServerCertificate[]> [-Confirm] [-WhatIf] [<CommonParameters>]

Related Commands

Online Version
Add-TrustAuthorityKeyProviderServerCertificate
Get-TrustAuthorityKeyProviderServerCertificate

Detailed Description

This cmdlet removes the specified Trust Authority key provider server certificates from their location. The certificate is no longer trusted by the Trust Authority key provider in the Trust Authority vCenter Server system.

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
ServerCertificateTrustAuthorityKeyProviderServerCertificate[]Specifies the server certificates that you no longer want to be trusted.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 --------------------------

$servercert = Get-TrustAuthorityKeyProviderServerCertificate -KeyProvider mykp | select -First 1
Remove-TrustAuthorityKeyProviderServerCertificate -ServerCertificate $servercert

Removes the first trusted server certificate from the mykp Trust Authority key provider.


Copyright © VMware, Inc. All rights reserved.