You have Nano Setver 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?
A should be right:
Because the question states that you MOUNT the vhdx File. So the VDH File is in use by the OS and i'm pretty sure the edit-nanosever cmdlet can't edit a file thats in use.
So just copy with copy-item
I think A is corret.
A. Copy-Item
>> for all types of files >> correct answer
B. Add-WindowsImage
>> for .win file
C. Add-WindowsPackage
>> for .cab、.msu
D. Edit-NanoServerImage
>> for VHD/X file
>> it needs to mount the image.
Both A and D are legitimate ways to solve this question, does anybody know if there are features that were released after the making of the test that makes one true?
I think D is the answer. You Edit the Nano Server image which allows you to add files.
The Edit-NanoServerImage cmdlet adds packages, drivers, and configures operating system options for a base Nano Server installation. The cmdlet operates on an image produced by the New-NanoServerImage cmdlet.
You can use the Edit-NanoServerImage cmdlet to do the following operations:
Add packages.
Add drivers.
Add servicing packages (updates).
Add an unattended setup file (unattend.xml).
Add files.
https://docs.microsoft.com/en-us/powershell/module/nanoserverimagegenerator/edit-nanoserverimage?view=win10-ps
I believe the answer is C.
The link you are referring to discusses copying files. This questions is about adding files to an image. Therefore I think it is add-package or the dism variant is /add-package
This section is not available anymore. Please use the main Exam Page.70-740 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
MrRiver
Highly Voted 5 years, 7 months agoAceBurn90
5 years, 2 months agoRogercampos
Most Recent 4 years, 4 months agopanda
4 years, 9 months agoRobbie
4 years, 10 months agoMr_Robertson
5 years, 6 months agoShockwaveXYZ
5 years, 7 months agoV1980
4 years, 8 months agosimcauley
5 years, 7 months agogd1f365
4 years, 11 months ago[Removed]
5 years, 11 months agoRockClimber
5 years, 11 months agoAnton2020
5 years, 6 months agolbs
5 years agodan
6 years, 1 month ago