Unpublish-FasMsTemplate

SYNOPSIS

Stop publishing a Microsoft Certificate Template on a Microsoft Certificate Authority.

SYNTAX

Unpublish-FasMsTemplate -Name <String> -CertificateAuthority <String> [<CommonParameters>]
<!--NeedCopy-->

DESCRIPTION

This command instructs a Microsoft Certificate Authority to stop publishing a Microsoft Certificate Template.

After running this command, the Certificate Authority will no longer issue certificates of this type.

Note that this cmdlet must be run using a High Privilege user account. Equivalent configuration can be done manually using the Microsoft GUI tools.

EXAMPLES

EXAMPLE 1

PS C:\>

C:\PS> $ca = Get-FasMSCertificateAuthority -default
C:\PS> Unpublish-FasMsTemplate -Name Citrix_SmartcardLogon -CertificateAuthority $ca.Address
<!--NeedCopy-->

Description


This command instructs the default certificate authority to stop issuing certificates based on the Citrix_SmartcardLogon template.

PARAMETERS

-Name

Specifies the name of the Microsoft Certificate Template to stop publishing.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: Named
Default value: (required)
Accept pipeline input: False
Accept wildcard characters: False
<!--NeedCopy-->

-CertificateAuthority

Specifies the Certificate Authority that should no longer publish this template.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: Named
Default value: (required)
Accept pipeline input: False
Accept wildcard characters: False
<!--NeedCopy-->

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

Variable, based on property name.

This cmdlet does accept input from the pipeline but only by property name.

OUTPUTS

void

This cmdlet does not return a value

NOTES

Publish-FasMsTemplate

Get-FasMsCertificateAuthority

Unpublish-FasMsTemplate