Come and Check our BETA Alpha version of Powershellcenter.net
Send me your comment to Powershell@powershellcenter.com

Synopsis

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

Syntax

Test-VHD [-Path] <String[]> [-ComputerName <String[]>] [<CommonParameters>]

Test-VHD [-Path] <String[]> [-ComputerName <String[]>] -SupportPersistentReservations [<CommonParameters>]

Detailed Description

The Test-VHD cmdlet tests a virtual hard disk for any problems that would make it unusable.

Parameters

-ComputerName [<String[]>]

Specifies one or more Hyper-V hosts on which the virtual hard disk is to be tested. NetBIOS names, IP addresses, and fully-qualified domain names are allowable. The default is the local computer