Modifier

Partager via


Save-VolumeSignatureCatalog

Extracts and saves a volume signature catalog file from a given shielded VM template disk.

Syntax

Save-VolumeSignatureCatalog
    [-TemplateDiskPath] <String>
    [-VolumeSignatureCatalogPath] <String>

Description

The Save-VolumeSignatureCatalog cmdlet extracts the volume signature catalog containing the disk signer, name, and version number of a shielded VM template disk and persists it to a file. This file can be given to VM owners who wish to deploy a VM using this template disk for use in the Shielding Data File Wizard.

Examples

Example 1

PS C:\> Save-VolumeSignatureCatalog -TemplateDiskPath 'C:\temp\mydisk.vhdx' -VolumeSignatureCatalogPath 'C:\temp\mydiskcatalog.vsc'

Saves the volume signature from the template disk to a file.

Parameters

-TemplateDiskPath

Specifies the path to a VHDX file that has been templatized in preparation for deploying shielded VMs.

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

-VolumeSignatureCatalogPath

Specifies the desired path for the volume signature catalog file. The path should use a .vsc extension.

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

Inputs

None

Outputs

None