Configuration driven Active Directory management.
Register directory services certificates
Register-FMCertificate -Type <String> -Certificate <X509Certificate2> [<CommonParameters>]
Register-FMCertificate -Type <String> -Authorative <Boolean> [<CommonParameters>]
Register-FMCertificate -Type <String> -Remove <String> [<CommonParameters>]
Register directory services certificates
Register-FMCertificate -Certificate $certificate -Type RootCA
Register a certiciate as RootCA certificate.
Register-FMCertificate -Authorative -Type RootCA
Sets our current configuration as authorative, removing all non-listed certificates from the store.
Register-FMCertificate -Remove $cert.Thumbprint -Type SubCA
Registers a certificate for removal from the SubCA list.
The kind of certificate this is. Can be: NTAuthCA, RootCA, SubCA, CrossCA or KRA.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
The certifcate to apply.
Type: X509Certificate2
Parameter Sets: Certificate
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
Should the certificate configuration overwrite the existing configuration, rather than adding to it (default).
Type: Boolean
Parameter Sets: Authorative
Aliases:
Required: True
Position: Named
Default value: False
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
Thumbprint of a certificate to remove rather than add.
Type: String
Parameter Sets: Remove
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
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.