mirror of
https://github.com/jamesstringerparsec/Easy-GPU-PV.git
synced 2024-08-30 18:22:17 +00:00
Win10 Support
This commit is contained in:
parent
bc302e7598
commit
416c87e543
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user