Documentation

{{docApp.title}}

{{docApp.description}}

Connect an AI assistant

Your AI assistant can read this documentation directly, so it answers from the current content instead of guessing. Add one of the servers below to your client — they use the Model Context Protocol (MCP). Each one covers a different body of content, so add the one you need.

The catalog did not load. Refresh the page to try again.

Loading…

How can we help?

{{docApp.searchError}}

Searching in {{docApp.searchFilterBySpecificBookTitle}}

 {{docApp.currentResultsSearchText}}  in {{docApp.searchFilterBySpecificBookTitle}}
Found {{docApp.searchResponse.totalResultsAvailable}} matches. Showing the top {{docApp.searchResponse.results ? docApp.searchResponse.results.length : 0}}. Use a more specific search to further narrow down the results.
No documentation pages match this search, so all content types are shown. Most matches are in {{docApp.searchDocTypeRescue.best.name}}.
There is no book with the ID "{{docApp.searchBookRescue.bid}}", so the book filter from this link was ignored and results from all books are shown.

You have an odd number of " characters in your search terms - each one needs closing with a matching " character!
  • {{resultItem.title}} {{resultItem.matchedBy === 'semantic' ? 'semantic' : (resultItem.matchedBy === 'both' ? 'keyword + semantic' : 'keyword')}}

    {{resultItem.url}}

{{docApp.libraryHomeViewProduct.title || docApp.libraryHomeViewProduct.id}}

{{docApp.libraryHomeViewProduct.description}}

  1. {{book.title}}

Hyper-V - Get VHD

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
In This Document