Active Directory Management Framework

Configuration driven Active Directory management.

ConvertFrom-AdcAccessRuleConfiguration

SYNOPSIS

Resolves AccessRule configuration objects.

SYNTAX

ConvertFrom-AdcAccessRuleConfiguration [[-Rule] <Object>] [-ADObject] <Object> [-IncludeCategory]
 [[-CategoryRules] <Hashtable>] [[-Server] <ComputerParameter>] [[-Credential] <PSCredential>]
 [-ProgressAction <ActionPreference>] [<CommonParameters>]

DESCRIPTION

Resolves AccessRule configuration objects. For use by Access Rule configurations of both DomainManagement and ForestManagement.

EXAMPLES

EXAMPLE 1

$script:accessRules[$key] | ConvertFrom-AdcAccessRuleConfiguration @parameters -ADObject $adObject -IncludeCategory

Resolve all configured access rules stored in $script:accessRules[$key], including any applicable rules assigned via Object Category

PARAMETERS

-Rule

The rule configuration to convert.

Type: Object
Parameter Sets: (All)
Aliases:

Required: False
Position: 1
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-ADObject

The AD Object the rule applies to.

Type: Object
Parameter Sets: (All)
Aliases:

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

-IncludeCategory

Whether to also return all Object-Category-based rules that apply to the object.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

-CategoryRules

Access rules defined via Object Categories

Type: Hashtable
Parameter Sets: (All)
Aliases:

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

-Server

The server / domain to work with.

Type: ComputerParameter
Parameter Sets: (All)
Aliases:

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

-Credential

The credentials to use for this operation.

Type: PSCredential
Parameter Sets: (All)
Aliases:

Required: False
Position: 5
Default value: None
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