Bearbeiten

Freigeben über


Initialize-VMShieldingHelperVHD

Initializes a VHD for use as a shielding utility disk in a guarded fabric.

Syntax

Initialize-VMShieldingHelperVHD
          -Path <String>
          [-WhatIf]
          [-Confirm]
          [<CommonParameters>]

Description

The Protect-TemplateDisk cmdlet initializes a virtual hard disk (VHD) for use as a shielding utility disk in a guarded fabric.

Utility VHDs contain the software needed to shield an existing VM on a guarded fabric. A supported operating system must be installed on the disk before initializing it as a shielding helper VHD.

For more information about preparing a shielding helper VHD, see Shielded VMs - Hosting service provider prepares a VM Shielding Helper VHDhttps://technet.microsoft.com/en-us/windows-server-docs/security/guarded-fabric-shielded-vm/guarded-fabric-vm-shielding-helper-vhd at https://go.microsoft.com/fwlink/?linkid=832557.

Examples

Example 1: Initialize a virtual hard disk

PS C:\>Initialize-VMShieldingHelperVHD -Path "C:\temp\ShieldedVMUtility.vhdx"

Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Path

Specifies the path of the .vhdx file to initialize.

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

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False