Launch price: every exam for $29.99 a year, for the first 300 buyers. See the price

CertStreak
Menu

Create an application package for App attach

A worked example

Complete the statement

You are preparing an MSIX-packaged application named contoso.msix for App Attach in Azure Virtual Desktop. You will convert it into a disk image on a Windows 11 Enterprise workstation where you have administrative permissions.

The storage team requires each application image on the file share to consist of exactly one file.

Which value should you use for the -fileType parameter when you create the disk image?

.\msixmgr.exe -Unpack -packagePath 'C:\msix\contoso.msix' -destination $imagePath -applyACLs -create -fileType  -rootDirectory apps
  • Blank 1: vhdx (correct answer)

    vhdx is correct because MSIXMGR creates a single VHDX file. cim fails the storage requirement because a CIM image consists of multiple files. msix is the input application package format, not a supported output disk image format for this command.

Why

MSIXMGR expands an MSIX package into a VHD, VHDX, or CIM disk image. Creating a VHDX image produces one file, satisfying the storage requirement. CIM images comprise multiple files, while MSIX is the application package being converted.

Practise this topic until it's automatic.

Ten questions a day, every answer explained, and misses that come back until you beat them.

Start free