Come and Check our BETA Alpha version of Powershellcenter.net
Send me your comment to Powershell@powershellcenter.com

Synopsis

Updates a certificate.

Syntax

Update-CMCertificate -Id <String> -Path <String> [-Confirm] [-WhatIf] [<CommonParameters>]

Detailed Description

The Update-CMCertificate cmdlet updates a public key infrastructure (PKI) certificate that Microsoft System Center 2012 Configuration Manager uses.

Parameters

-Id [<String>]

Specifies the ID of a certificate.

Required?   true
Position?   named
Default value?  
Accept pipeline input?   True (ByPropertyName)
Accept wildcard characters?   false

-Path [<String>]

Specifies a certification path.

Required?   true
Position?   named
Default value?  
Accept pipeline input?   True (ByPropertyName)
Accept wildcard characters?   false

-Confirm [<SwitchParameter>]

Prompts you for confirmation before executing the command.

Required?   false
Position?   named
Default value?   false
Accept pipeline input?   false
Accept wildcard characters?   false

-WhatIf [<SwitchParameter>]

Describes what would happen if you executed the command without actually executing the command.

Required?   false
Position?   named
Default value?   false
Accept pipeline input?   false
Accept wildcard characters?   false

Input Type

Return Type

Notes

Examples

Example 1: Update a certificate

PS> PS C:\>Update-CMCertificate -Id "BaseCert.txt" -Path "\\Contoso01\CM\Toolbox\BaseCert.txt"

This command updates the certificate that has the ID BaseCert.