-
Notifications
You must be signed in to change notification settings - Fork 3
FSRMClassificationRule
dscbot edited this page Jun 16, 2024
·
3 revisions
| Parameter | Attribute | DataType | Description | Allowed Values |
|---|---|---|---|---|
| Name | Key | String | The name of the FSRM Classification Rule. | |
| Description | Write | String | The description for the FSRM Classification Rule. | |
| Ensure | Write | String | Specifies whether the FSRM Classification Rule should exist. |
Present, Absent
|
| Property | Write | String | Specifies the name of a classification property definition to set. | |
| PropertyValue | Write | String | Specifies the property value that the rule will assign. | |
| ClassificationMechanism | Write | String | Specifies the name of a valid classification mechanism available on the server for assigning the property value. | |
| ContentRegularExpression | Write | StringArray[] | An array of regular expressions for pattern matching. | |
| ContentString | Write | StringArray[] | An array of strings for the content classifier to search for. | |
| ContentStringCaseSensitive | Write | StringArray[] | An array of case sensitive strings for the content classifier to search for. | |
| Disabled | Write | Boolean | Indicates that the classification rule is disabled. | |
| Flags | Write | StringArray[] | An array of flags that defines the possible states of the rule. | |
| Parameters | Write | StringArray[] | An array of parameters in the format = that can be used by the File Classification Infrastructure. | |
| Namespace | Write | StringArray[] | An array of namespaces where the rule is applied. | |
| ReevaluateProperty | Write | String | Specifies the evaluation policy of the rule. |
Never, Overwrite, Aggregate
|
This resource is used to configure Classification Rules in File Server Resource Manager.
This configuration will create a FSRM Classification Rule called 'Confidential' that will assign a Privacy value of Confidential to any files containing the text Confidential in the folder d:\users or any folder categorized as 'User Files'.
Configuration FSRMClassificationRule_Config
{
Import-DscResource -Module FSRMDsc
Node localhost
{
FSRMClassificationRule ConfidentialPrivacyClasificationRule
{
Name = 'Confidential'
Description = 'Set Confidential'
Ensure = 'Present'
Property = 'Privacy'
PropertyValue = 'Confidential'
ClassificationMechanism = ''
ContentString = 'Confidential'
Namespace = '[FolderUsage_MS=User Files]', 'd:\Users'
ReevaluateProperty = 'Overwrite'
} # End of FSRMClassificationRule Resource
} # End of Node
} # End of Configuration- FSRMAutoQuota
- FSRMClassification
- FSRMClassificationProperty
- FSRMClassificationPropertyValue
- FSRMClassificationRule
- FSRMFileGroup
- FSRMFileScreen
- FSRMFileScreenAction
- FSRMFileScreenException
- FSRMFileScreenTemplate
- FSRMFileScreenTemplateAction
- FSRMQuota
- FSRMQuotaAction
- FSRMQuotaTemplate
- FSRMQuotaTemplateAction
- FSRMSettings