CmdID / PowerShell / Cmdlets / Test
Test-VHD
Tests a virtual hard disk for any problems that would make it unusable. Windows Server PowerShell reference
From the Windows Server PowerShell reference 5 parameters Its page in the reference
Parameters
-CimSessionRuns the cmdlet in a remote session or on a remote computer.-ComputerNameSpecifies one or more Hyper-V hosts on which the virtual hard disk is to be tested.-CredentialSpecifies one or more user accounts that have permission to perform this action.-Path, -FullNameSpecifies the path to the virtual hard disk file of the virtual hard disk to be tested.-SupportPersistentReservations, -ShareVirtualDiskIndicates that the cmdlet tests for SCSI persistent reservation support semantics.