Test VHD for Errors

Tests a virtual hard disk for any problems that would make it unusable.

Input Parameters

Name Type Required Description
VHD File Path String Yes Specifies the path to the virtual hard disk file of the virtual hard disk to be tested. If a file name or relative path is specified, the new virtual hard disk path is calculated relative to the current working directory.

Output Parameters

Name Type Description
Result Number Returns a success value of zero or any value other than zero to indicate failure.

Example Input Parameters

Name Type Required Example
VHD File Path String Yes c:\test\testvhdx.vhdx