# vhdx



{{< badge >}}Accessor{{< /badge >}}

### Description

Allow reading a VHDX file.

This accessor allows access to the content of VHDX files. Note that usually
VHDX files are disk images with a partition table and an NTFS volume. You
will usually need to wrap this accessor with a suitable Offset (to account
for the partition) and parse it with the "raw_ntfs" accessor.

### Example

```vql
SELECT OSPath.Path AS OSPath, Size, Mode.String
FROM glob(
   globs="*", accessor="raw_ntfs", root=pathspec(
     Path="/",
     DelegateAccessor="offset",
     DelegatePath=pathspec(
       Path="/65536",
       DelegateAccessor="vhdx",
       DelegatePath="/tmp/test.vhdx")))
```




