Clear-AdcConfiguration
SYNOPSIS
Resets all configuration settings part of ADMF processing.
SYNTAX
__AllParameterSets
Clear-AdcConfiguration [-EnableException] [<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: System.Management.Automation.SwitchParameter
DefaultValue: False
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: Named
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.