What should you run?

Note: This question is part of a series of questions that use the same or similar answer choices. An answer choice may be correct for more than one question in the series. Each question is independent of the other questions in this series. Information and details provided in a question apply only to that question.

You have a Hyper-V host named Server1 that runs Windows Server 2016. Server1 has a dynamically expanding virtual hard disk (VHD) file that is 900 GB. The VHD contains 400 GB of free space.

You need to reduce the amount of disk space used by the VHD.

What should you run?
A . the Mount-VHD cmdlet
B . the Diskpart command
C . the Set-VHD cmdlet
D . the Set-VM cmdlet
E . the Set-VMHost cmdlet
F . the Set-VMProcessor cmdlet
G . the Install-WindowsFeature cmdlet
H . the Optimize-VHD cmdlet

Answer: H

Explanation:

The Optimize-VHD cmdlet optimizes the allocation of space in or more virtual hard disk files, except for fixed virtual hard disks. The Compact operation is used to optimize the files. This operation reclaims unused blocks as well as rearranges the blocks to be more efficiently packed, which reduces the size of a virtual hard disk file.

References:

https://technet.microsoft.com/en-us/itpro/powershell/windows/hyper-v/optimize-vhd

Latest 70-743 Dumps Valid Version with 252 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments