New-VolumeIDQualifier
Creates a volume ID qualifier.
Syntax
SignatureCatalog (Default)
New-VolumeIDQualifier
[-VolumeSignatureCatalogFilePath] <String>
[-VersionRule] <VolumeVersionRule>
[<CommonParameters>]
TemplateDisk
New-VolumeIDQualifier
[-TemplateDiskFilePath] <String>
[-VersionRule] <VolumeVersionRule>
[<CommonParameters>]
Description
The New-VolumeIDQualifier cmdlet creates a VolumeIDQualifier object from a volume signature catalog file and an associated rule.
Examples
Example 1: Create a volume ID qualifier
PS C:\>New-VolumeIDQualifier -VolumeSignatureCatalogFilePath "SignatureCatalog.vsc" -VolumeVersionRule Equals
This command creates a VolumeIDQualifier object that contains information associated with a .vsc file. The VolumeSignatureCatalogFilePath parameter the .vsc file.
Parameters
-TemplateDiskFilePath
The path to the template file.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
TemplateDisk
| Position: | 0 |
| Mandatory: | True |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-VersionRule
Specifies a rule that defines what volume versions the VolumeIDQualifier matches. The acceptable values for this parameter are:
- Equals
- GreaterThan
- GreaterThanOrEquals
Parameter properties
| Type: | VolumeVersionRule |
| Default value: | None |
| Accepted values: | Equals, GreaterThan, GreaterThanOrEquals |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | 1 |
| Mandatory: | True |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-VolumeSignatureCatalogFilePath
Specifies the path of a volume signature catalog file. This type of file uses the .vsc file name extension.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
SignatureCatalog
| Position: | 0 |
| Mandatory: | True |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Inputs
String
VolumeVersionRule
Outputs
VolumeIDQualifier
This object returns a new VolumeIDQualifier object. Provide this object to the Protect-ShieldingDataFile to create a provisioning data file.