Tests a SystoLOCK certificate template assignment.
Test-SystoLockCertificateTemplateAssignment [[-Type] <CATemplateType[]>] [[-CAHostname] <String[]>] [-Force]
[-DomainController <String>] [<CommonParameters>]
Test-SystoLockCertificateTemplateAssignment [[-Type] <CATemplateType[]>] [[-CAName] <String[]>] [-Force]
[-DomainController <String>] [<CommonParameters>]
The Test-SystoLockCertificateTemplateAssignment
cmdlet tests one or many certificate templates assignments.
If no parameters are specified cmdlet tests assignment on local Certificate Authority.
PS C:\> Test-SystoLockCertificateTemplateAssignment
Removes assignments on local Certificate Authority.
PS C:\> Test-SystoLockCertificateTemplateAssignment -Type Cla20M
Tests assignments for specified type.
PS C:\> Test-SystoLockCertificateTemplateAssignment -CaName 'Dev CA'
Tests assignments on specified Certificate Authority, by name.
PS C:\> Test-SystoLockCertificateTemplateAssignment -CaHostName 'dev.local.com'
Tests assignments on specified Certificate Authority, by host name.
PS C:\> Test-SystoLockCertificateTemplateAssignment -Force
Tests 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 testing 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.
Returns $true
if assignment exists; otherwise $false
.
Disable-SystoLockCertificateTemplateAssignment
Enable-SystoLockCertificateTemplateAssignment