Free Download Microsoft 70-410 VCE Test Engine Full Version Now (241-250)
QUESTION 241
You run a Windows 2012 R2 Hyper-V Role Server, you need to shrink the size of files.vhd. Which powershellcmdlet option you should run first?
A. Dismount-VHD
B. Mount-VHD
C. Resize-VHD
D. Convert-VHD
Answer: D
Explanation:
Answer: Convert, as .vhd don’t support shrink. Convert-VHD – Converts the format, version type, and block size of a virtual hard disk file. Convert-VHD – Path c:\test\files.vhd – DestinationPath c:\test\testvhdx.vhdx The Resize-VHD cmdlet resizes a virtual hard disk. This cmdlet lets you shrink or expand the size of a virtualhard disk, but the shrink operation is allowed only on VHDX virtual hard disks. The shrink operation fails ifit would shrink the virtual disk to less than its minimum size (available through the VHDX object’s MinimumSizeproperty). After converting a dynamically expanding VHD to the VHDX format, a new Shrink menu option becomesavailable in the Hyper-V UI as shown. VHDX format VHDs only expose the Shrink option when there is free space in the VHDX file to reclaim.
http://technet.microsoft.com/en-us/library/hh848454.aspx http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/05/10/shrinking-a-vhd-in-windows-8fast.aspx
http://technet.microsoft.com/en-us/library/hh848535.aspx