New-VolumeIDQualifier
New-VolumeIDQualifier
Creates a volume ID qualifier.
語法
Parameter Set: Default
New-VolumeIDQualifier [-VolumeSignatureCatalogFilePath] <String> [-VersionRule] <VolumeVersionRule> {Equals | GreaterThan | GreaterThanOrEquals} [-InformationAction <System.Management.Automation.ActionPreference> {SilentlyContinue | Stop | Continue | Inquire | Ignore | Suspend} ] [-InformationVariable <System.String> ] [ <CommonParameters>]
詳細描述
The New-VolumeIDQualifier cmdlet creates a VolumeIDQualifier object from a volume signature catalog file and an associated rule.
參數
-InformationAction<System.Management.Automation.ActionPreference>
別名 |
infa |
必要項? |
false |
位置? |
named |
預設值 |
none |
接受管線輸入? |
false |
接受萬用字元? |
false |
-InformationVariable<System.String>
別名 |
iv |
必要項? |
false |
位置? |
named |
預設值 |
none |
接受管線輸入? |
false |
接受萬用字元? |
false |
-VersionRule<VolumeVersionRule>
Specifies a rule that defines what volume versions the VolumeIDQualifier matches. 這個參數可接受的值如下:
-- Equals
-- GreaterThan
-- GreaterThanOrEquals
別名 |
none |
必要項? |
true |
位置? |
2 |
預設值 |
none |
接受管線輸入? |
false |
接受萬用字元? |
false |
-VolumeSignatureCatalogFilePath<String>
Specifies the path of a volume signature catalog file. This type of file uses the .vsc file name extension.
別名 |
none |
必要項? |
true |
位置? |
1 |
預設值 |
none |
接受管線輸入? |
false |
接受萬用字元? |
false |
<CommonParameters>
這個指令程式支援一般參數:-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer 和 -OutVariable。如需詳細資訊,請參閱 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。
輸入
輸入類型是可透過管道傳送至指令程式的物件類型。
- String, VolumeVersionRule
輸出
輸出類型是指令程式所發出的物件類型。
VolumeIDQualifier
This object returns a new VolumeIDQualifier object. Provide this object to the Protect-ShieldingDataFile to create a provisioning data file.
範例
Example 1: Create a volume ID qualifier
This command creates a VolumeIDQualifier object that contains information associated with a .vsc file. The VolumeSignatureCatalogFilePath parameter the .vsc file.
PS C:\> New-VolumeIDQualifier -VolumeSignatureCatalogFilePath "SignatureCatalog.vsc" -VolumeVersionRule Equals