Active Directory Management Framework

Configuration driven Active Directory management.

Clear-AdcConfiguration

SYNOPSIS

Resets all configuration settings part of ADMF processing.

SYNTAX

Clear-AdcConfiguration [-EnableException] [-ProgressAction <ActionPreference>] [<CommonParameters>]

DESCRIPTION

Resets all configuration settings part of ADMF processing. Hard resets its own configuration data. Offers an extension point via the PSFCallback system that its dependents should tie in for all logic resetting their own configuration settings. Can also be used as an extension point by a management wrapper on top of the ADMF system.

To register your own logic, run the following command: Register-PSFCallback -Name MyModule.ConfigurationReset -ModuleName ADMF.Core -CommandName Clear-AdcConfiguration -ScriptBlock $scriptblock (replacing “MyModule” with your module’s name and defining the logic in $scriptblock)

EXAMPLES

EXAMPLE 1

Clear-AdcConfiguration

Resets all configuration settings part of ADMF processing.

PARAMETERS

-EnableException

This parameters disables user-friendly warnings and enables the throwing of exceptions. This is less user friendly, but allows catching exceptions in calling scripts.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-ProgressAction

Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

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

INPUTS

OUTPUTS

NOTES