Skip to main content

Test-AdmfForest

SYNOPSIS

Tests whether a forest is configured according to baseline configuration

SYNTAX

__AllParameterSets

Test-AdmfForest [[-Server] <ComputerParameter[]>] [[-Credential] <pscredential>]
[[-Options] <UpdateForestOptions[]>] [[-CredentialProvider] <string>] [-ContextPrompt]
[<CommonParameters>]

DESCRIPTION

Tests whether a forest is configured according to baseline configuration

EXAMPLES

EXAMPLE 1

Test-AdmfForest

Test the current forest for baseline compliance.

PARAMETERS

-ContextPrompt

Force displaying the Context selection User Interface.

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

-Credential

The credentials to use for this operation.

Type: System.Management.Automation.PSCredential
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 1
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

-CredentialProvider

The credential provider to use to resolve the input credentials. See help on Register-AdmfCredentialProvider for details.

Type: System.String
DefaultValue: default
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 3
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

-Options

What tests to execute. Defaults to all tests.

Type: ADMF.UpdateForestOptions[]
DefaultValue: All
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 2
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

-Server

The server / domain to work with.

Type: PSFramework.Parameter.ComputerParameter[]
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 0
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
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.