編輯

共用方式為


New-VolumeIDQualifier

Creates a volume ID qualifier.

Syntax

New-VolumeIDQualifier
   [-VolumeSignatureCatalogFilePath] <String>
   [-VersionRule] <VolumeVersionRule>
   [<CommonParameters>]
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.

Type:String
Position:0
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-VersionRule

Specifies a rule that defines what volume versions the VolumeIDQualifier matches. The acceptable values for this parameter are:

  • Equals
  • GreaterThan
  • GreaterThanOrEquals
Type:VolumeVersionRule
Accepted values:Equals, GreaterThan, GreaterThanOrEquals
Position:1
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-VolumeSignatureCatalogFilePath

Specifies the path of a volume signature catalog file. This type of file uses the .vsc file name extension.

Type:String
Position:0
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

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.