Block-CMCertificate

Blocks a certificate.

Syntax

Block-CMCertificate
     [-Id] <String>
     [-Confirm]
     [-DisableWildcardHandling]
     [-ForceWildcardHandling]
     [-PassThru]
     [-WhatIf]
     [<CommonParameters>]
Block-CMCertificate [-InputObject]  [-Confirm] [-DisableWildcardHandling]
 [-ForceWildcardHandling] [-PassThru] [-WhatIf] []

Description

The Block-CMCertificate cmdlet blocks a certificate. Microsoft System Center Configuration Manager uses certificates to manage boot media, Pre-Boot eXecution Environment (PXE) deployments, and Independent Software Vendors (ISV) proxies.

Examples

Example 1: Block a certificate

PS C:\>Block-CMCertificate -Id "11729"

This command blocks the certificate that has the specified ID.

Required Parameters

-Id

Specifies an array of certificate IDs.

Type:String
Aliases:SmsId
Required:True
Position:0
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-InputObject

Specifies the input to this cmdlet. You can use this parameter, or you can pipe the input to this cmdlet.

Type:IResultObject
Aliases:Certificate
Required:True
Position:0
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False

Optional Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Required:False
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False
-DisableWildcardHandling

Indicates that wildcard handling is disabled.

Type:SwitchParameter
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ForceWildcardHandling

Indicates that wildcard handling is enabled.

Type:SwitchParameter
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-PassThru

Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output.

Type:SwitchParameter
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Required:False
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False