vagrant/plugins/providers/hyperv/scripts/has_vmcx_support.ps1

10 lines
240 B
PowerShell

#Requires -Modules VagrantMessages
# Windows version 10 and up have support for binary format
$check = [System.Environment]::OSVersion.Version.Major -ge 10
$result = @{
result = $check
}
Write-Output-Message $(ConvertTo-Json $result)