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

10 lines
239 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-OutputMessage $(ConvertTo-Json $result)