Active Directory Management Framework

Configuration driven Active Directory management.

Get-AdcCategoryBasedRules

SYNOPSIS

Returns all access rules applicable to an ad object via category rules.

SYNTAX

Get-AdcCategoryBasedRules [-ADObject] <Object> [[-Server] <ComputerParameter>] [[-Credential] <PSCredential>]
 [[-ConvertNameCommand] <Object>] [[-ConvertGuidCommand] <Object>] [[-CategoryRules] <Hashtable>]
 [[-ExplicitRules] <Object>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

DESCRIPTION

Returns all access rules applicable to an ad object via category rules.

EXAMPLES

EXAMPLE 1

Get-AdcCategoryBasedRules -ADObject $foundADObject @parameters -ConvertNameCommand $convertCmdName -ConvertGuidCommand $convertCmdGuid

Returns all access rules applicable to $foundADObject via category rules.

PARAMETERS

-ADObject

The AD Object for which to resolve access rules by category.

Type: Object
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
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: 2
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: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ConvertNameCommand

A steppable pipeline wrapping Convert-AdcSchemaGuid converting to name.

Type: Object
Parameter Sets: (All)
Aliases:

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

-ConvertGuidCommand

A steppable pipeline wrapping Convert-AdcSchemaGuid converting to guid.

Type: Object
Parameter Sets: (All)
Aliases:

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

-CategoryRules

All access rules defined via Object Categories. These are compared against the list of ObjectCategories that apply to the object and then - if applicable - converted to access rules.

Type: Hashtable
Parameter Sets: (All)
Aliases:

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

-ExplicitRules

Explicitly assigned rules by configuration via Path. Path-based assignment overrides category-based assignment.

Type: Object
Parameter Sets: (All)
Aliases:

Required: False
Position: 7
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