CmdID / PowerShell / Cmdlets / Protect
Protect-TemplateDisk
Prepares a signed template disk (.VHDX) which can be used to provision new shielded virtual machines. Windows Server PowerShell reference
From the Windows Server PowerShell reference 9 parameters Its page in the reference
Parameters
-CertificateSpecifies the certificate used to sign metadata including the disk name, version, and hash calculated during the preparation process.-DiskIsAlreadySpecializedIndicates the disk has already been prepared as a signed template disk, but its contents have since changed.-PathSpecifies the path to the template disk (.VHDX) to be prepared.-PopulateFromSpecifies the path of a template disk that contains a previously published volume signature catalog.-ProtectedTemplateTargetDiskTypeSpecifies the type of OS installed on the VHDX.-TemplateNameSpecifies the name of the template.-VersionSpecifies a value that uniquely identifies this version of the template.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-WhatIf, -wiShows what would happen if the cmdlet runs.