From 416c87e5430c1a45d092720d946cf1e95e520aec Mon Sep 17 00:00:00 2001 From: James Stringer <38541878+jamesstringerparsec@users.noreply.github.com> Date: Sun, 21 Nov 2021 17:26:53 +0100 Subject: [PATCH] Win10 Support --- PreChecks.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PreChecks.ps1 b/PreChecks.ps1 index b9666d4..a26ae79 100644 --- a/PreChecks.ps1 +++ b/PreChecks.ps1 @@ -46,7 +46,7 @@ Function Get-WSLEnabled { } Function Get-VMGpuPartitionAdapterFriendlyName { - $Devices = (Get-VMHostPartitionableGpu).Name + $Devices = Get-WmiObject -Class "Msvm_PartitionableGpu" -ComputerName $env:COMPUTERNAME -Namespace "ROOT\virtualization\v2" Foreach ($GPU in $Devices) { $GPUParse = $GPU.Split('#')[1] Get-WmiObject Win32_PNPSignedDriver | where {($_.HardwareID -eq "PCI\$GPUParse")} | select DeviceName -ExpandProperty DeviceName