New-MceAttributeTypeBehavior
SYNOPSIS
Creates a new attribute type behavior.
SYNTAX
New-MceAttributeTypeBehavior [-DisplayName] <String> [-AttributeIssuer] <String> [-AttributeName] <String>
[[-Filter] <String>] [[-IsEnabled] <Boolean>] [<CommonParameters>]
DESCRIPTION
This cmdlet creates a new attribute type behavior on the system, and returns the attribute type behavior's ID.
EXAMPLES
EXAMPLE 1
New-MceAttributeTypeBehavior -DisplayName "Organization" -AttributeIssuer "CP" -AttributeName "org"
Creates an enabled attribute type behavior with a default filter of ".".
EXAMPLE 2
New-MceAttributeTypeBehavior -DisplayName "Organization" -AttributeIssuer "CP" -AttributeName "org" -Filter "prefix.*"
Creates an enabled attribute type behavior with a filter of "prefix.*".
EXAMPLE 3
New-MceAttributeTypeBehavior -DisplayName "Organization" -AttributeIssuer "CP" -AttributeName "org" -IsEnabled $false
Creates a disabled attribute type behavior with a default filter of ".".
PARAMETERS
-DisplayName
The display name of the attribute type behavior.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-AttributeIssuer
The attribute issuer of the attribute type behavior.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-AttributeName
The attribute name of the attribute type behavior.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Filter
The filter of the attribute type behavior.
This value is optional. If not provided the attribute type behavior will apply to all attributes with the provided issuer and name. Please note that the filter must be a valid regex expression.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-IsEnabled
A value indicating whether the attribute type behavior is enabled or disabled.
This value is optional. If not provided then the attribute type behavior will be created with the flag set to enabled.
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: 4
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.