Veritas Enterprise Vault™ PowerShell Cmdlets
Get-EVClassificationTags
For the specified plain-text (.txt
) file in the classification cache folder, Get-EVClassificationTags returns details of the rules that it matches and the associated classification properties and property values. You may find this useful when you create a classification rule, as the cmdlet lets you verify that the rule is operating correctly without repeatedly having to rearchive the same item.
By default, Enterprise Vault empties the cache folder at the first opportunity. However, you can configure it to retain the cache contents by choosing a setting in the Administration Console.
Get-EVClassificationTags is provided by Symantec.EnterpriseVault.PowerShell.Snapin.dll
, which is loaded by the Enterprise Vault Management Shell.
Get-EVClassificationTags [-File] <string>
Table: Get-EVClassificationTags parameters
Parameter | Description |
---|---|
-File (required) | The path to the plain-text file for which to return the classification details. Only |
Get-EVClassificationTags -File E:\EVCache\Classification\ClassificationFile.txt
Returns the classification details for the file
ClassificationFile.txt
.Get-EVClassificationTags -File 'E:\EVCache\Classification\EV$90B2291D1E3417B67AB88BDDC2195091~02B5EDB8.txt'
Returns the classification details for a file that has a dollar sign in its name. For this reason, the entire path is enclosed in single quotation marks.
This cmdlet returns an array of objects of type Symantec.EnterpriseVault.PowerShell.Commands.EVClassificationProperty, which have the following properties.
Table: Get-EVClassificationTags properties
Name | Type | Description |
---|---|---|
RuleName | String | The classification rule that the file has matched. |
PropertyName | String | The classification property in which the rule assigns one or more values. |
PropertyValue | String | The values that the rule assigns to the classification property. |