Exports a virtual machine checkpoint to disk
Export-VMSnapshot -Name 'VM snapshot' -VMName 'Windows 10 22H2' -Path C:\tmp -CimSession $s
$s
Hyper-V