Enables a SystoLOCK certificate template assignment.
Enable-SystoLockCertificateTemplateAssignment [[-Type] <CATemplateType[]>] [[-CAHostname] <String[]>] [-Force]
[-DomainController <String>] [<CommonParameters>]
Enable-SystoLockCertificateTemplateAssignment [[-Type] <CATemplateType[]>] [[-CAName] <String[]>] [-Force]
[-DomainController <String>] [<CommonParameters>]
The Enable-SystoLockCertificateTemplateAssignment
cmdlet creates one or many certificate templates assignments on Certificate Authority.
If no parameters are specified cmdlet creates assignment on local Certificate Authority.
If the assignment already exist, cmdlet does nothing, otherwise it creates the assignment on specified Certificate Authority.
PS C:\> Enable-SystoLockCertificateTemplateAssignment
Removes assignments on local Certificate Authority.
PS C:\> Enable-SystoLockCertificateTemplateAssignment -Type Cla20M
Creates assignments for specified type.
PS C:\> Enable-SystoLockCertificateTemplateAssignment -CaName 'Dev CA'
Creates assignments on specified Certificate Authority, by name.
PS C:\> Enable-SystoLockCertificateTemplateAssignment -CaHostName 'dev.local.com'
Creates assignments on specified Certificate Authority, by host name.
PS C:\> Enable-SystoLockCertificateTemplateAssignment -Force
Creates assignments for all templates on all Certificate Authority in domain.
Specifies Certificate Authority host name.
Type: String[]
Parameter Sets: CAHostname
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies Certificate Authority name.
Type: String[]
Parameter Sets: CAName
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies domain controller host name or IP address.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Forces the creation of an assignment for all templates on all CAs.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies type of a SystoLOCK certificate template.
Type: CATemplateType[]
Parameter Sets: (All)
Aliases:
Accepted values: Scl20M, Cla20M, Cba1Y, San1Y
Required: False
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
This cmdlet does not accept any input.
Contains information about certificate template.
DisplayName: the certificate template display name.
ExpirationPeriod: the certificate expiration period.
IsCanonical: if value set to $true
indicating whether the certificate template has canonical form; otherwise $false
.
IsPresent: if value set to $true
indicating whether the certificate template is present in the directory; otherwise $false
.
Oid: the certificate template object identifier.
Type: the type of the certificate template.
EnabledOn: indicate on which certificate authority assignments are enabled.
Disable-SystoLockCertificateTemplateAssignment
Test-SystoLockCertificateTemplateAssignment