Skip to main content

Register-FMNTAuthStore

SYNOPSIS

Register NTAuthStore certificates

SYNTAX

Certificate

Register-FMNTAuthStore -Certificate <X509Certificate2> [<CommonParameters>]

Authorative

Register-FMNTAuthStore -Authorative [<CommonParameters>]

DESCRIPTION

Register NTAuthStore certificates This is the ideal / desired state for the NTAuthStore certificate configuration. Forests will be brought into this state by using Invoke-FMNTAuthStore.

EXAMPLES

EXAMPLE 1

Register-FMNTAuthStore -Certificate $NTAuthStoreCertificate

Register a certiciate.

EXAMPLE 2

Register-FMNTAuthStore -Authorative

Sets our current configuration as authorative, removing all non-listed certificates from the store.

PARAMETERS

-Authorative

Should the NTAuthStore configuration overwrite the existing configuration, rather than adding to it (default).

Type: System.Management.Automation.SwitchParameter
DefaultValue: False
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: Authorative
Position: Named
IsRequired: true
ValueFromPipeline: false
ValueFromPipelineByPropertyName: true
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

-Certificate

The certifcate to apply.

Type: System.Security.Cryptography.X509Certificates.X509Certificate2
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: Certificate
Position: Named
IsRequired: true
ValueFromPipeline: false
ValueFromPipelineByPropertyName: true
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

CommonParameters

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