How can we help?
{{docApp.searchError}}
{{product.name}}
Searching in {{docApp.searchFilterBySpecificBookTitle}}
{{docApp.searchResultFilteredItems.length}} results for: {{docApp.currentResultsSearchText}}
in {{docApp.searchFilterBySpecificBookTitle}}
Search results have been limited. There are a total of {{docApp.searchResponse.totalResultsAvailable}} matches.
You have an odd number of " characters in your search terms - each one needs closing with a matching " character!
-
{{resultItem.title}}
{{resultItem.url}}
{{docApp.libraryHomeViewProduct.title || docApp.libraryHomeViewProduct.id}}
{{docApp.libraryHomeViewProduct.description}}
{{group.title || group.id}}
{{group.description}}
Operation Information
This operation will retrieve details about a Virtual Hard Disk, using either its path or Disk Number. See the Get-VHD documentation for more information: https://docs.microsoft.com/en-us/powershell/module/hyper-v/get-vhd?view=win10-ps
Input Parameters
Name | Type | Description | Required | Sensitive |
---|---|---|---|---|
HostName |
string |
Optionally provide the Hyper-V host to perform the action on. NetBIOS names, IP addresses, and fully qualified domain names are allowable | No | No |
Path |
string |
The path of the VHD | No | No |
DiskNumber |
string |
The Disk Number of the VHD | No | No |
Output Parameters
Name | Type | Description | Required | Sensitive |
---|---|---|---|---|
outcome |
string |
Outcome of the operation. Can be OK, WARN or FAIL | Yes | No |
errors |
string |
Any errors returned by the operation | No | No |
warnings |
string |
Any warnings returned by the operation | No | No |
ComputerName |
string |
Computer Name | No | No |
Path |
string |
Path | No | No |
VhdFormat |
string |
VHD Format | No | No |
VhdType |
string |
VHD Type | No | No |
FileSize |
string |
File Size | No | No |
Size |
string |
Size | No | No |
MinimumSize |
string |
Minimum Size | No | No |
LogicalSectorSize |
string |
Logical Sector Size | No | No |
PhysicalSectorSize |
string |
Physical Sector Size | No | No |
BlockSize |
string |
Block Size | No | No |
ParentPath |
string |
Parent Path | No | No |
DiskIdentifier |
string |
Disk Identifier | No | No |
FragmentationPercentage |
string |
Fragmentation Percentage | No | No |
Alignment |
string |
Alignment | No | No |
Attached |
string |
Attached | No | No |
DiskNumber |
string |
Disk Number | No | No |
IsPMEMCompatible |
string |
Is PMEM Compatible | No | No |
AddressAbstractionType |
string |
Address Abstraction Type | No | No |
Number |
string |
Number | No | No |
- Version {{docApp.book.version}}
- Node {{docApp.node}} / {{docApp.build}}
In This Document