Unregister-FMCallback
SYNOPSIS
Removes a callback from the list of registered callbacks.
SYNTAX
__AllParameterSets
Unregister-FMCallback [-Name] <string[]> [<CommonParameters>]
DESCRIPTION
Removes a callback from the list of registered callbacks.
For more details on this system, call: Get-Help about_FM_callbacks
EXAMPLES
EXAMPLE 1
Get-FMCallback | Unregister-FMCallback
Unregisters all callback scriptblocks that have been registered.
PARAMETERS
-Name
The name of the callback to remove.
Type: System.String[]
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 0
IsRequired: true
ValueFromPipeline: true
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.