Skip to main content

Unregister-FMAccessRule

SYNOPSIS

Removes a registered accessrule from the list of desired rules.

SYNTAX

__AllParameterSets

Unregister-FMAccessRule [[-RuleObject] <Object>] [<CommonParameters>]

DESCRIPTION

Removes a registered accessrule from the list of desired rules.

EXAMPLES

EXAMPLE 1

Get-FMAccessRule | Unregister-FMAccessRule

Removes all registered Access Rules, clearing the desired state of rules.

PARAMETERS

-RuleObject

The rule object to remove. Must be returned by Get-DMAccessRule

Type: System.Object
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 0
IsRequired: false
ValueFromPipeline: true
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.