Remove-MsmqCertificate
Removes personal certificates.
Remove-MsmqCertificate
-InputObject <X509Certificate2[]>
[-WhatIf]
[-Confirm]
[<CommonParameters>]
The Remove-MsmqCertificate cmdlet removes personal certificates from Active Directory® Domain Services. This cmdlet returns the removed Message Queuing (also known as MSMQ) certificate.
PS C:\> Get-MsmqCertificate | Remove-MsmqCertificate
This command gets the certificates of the current user for all hosts or virtual servers by using the Get-MsmqCertificate cmdlet. The command passes them to the current cmdlet by using the pipeline operator. The current command removes the certificates.
Prompts you for confirmation before running the cmdlet.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies an array of certificate objects that represent certificates that this cmdlet removes from Active Directory Domain Services. This parameter accepts pipeline input.
Type: | X509Certificate2[] |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |