Microsoft Exam Questions

Which powershellcmdlet option you should run first?

You run a Windows 2012 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

Explanation:
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 ifitwould 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-8- fast.aspx
http://technet.microsoft.com/en-us/library/hh848535.aspx