Installation, Storage, and Compute with Windows Server 2016 — Question 148
You have Nano Server image named Diskl .vhdx.
You mount Diskl .vhdx.
You need to add a folder that contains several files to the image.
Which tool or cmdlet you should use?
Answer options
- A. Copy-Item
- B. Add-WindowsImage
- C. Add-WindowsPackage
- D. Edit-NanoServerImage
- E. Dism
- F. Nano Server Image Builder
Correct answer: A
Explanation
The correct answer is A, Copy-Item, as this cmdlet allows you to copy files and folders into the mounted image. The other options either relate to adding components or modifying the image in ways that do not pertain to simply adding files.