mirror of
https://github.com/jamesstringerparsec/Easy-GPU-PV.git
synced 2024-08-30 18:22:17 +00:00
Support Windows Education
This commit is contained in:
parent
b403c13850
commit
b91e231f35
@ -15,7 +15,7 @@ Function Get-DesktopPC
|
|||||||
|
|
||||||
Function Get-WindowsCompatibleOS {
|
Function Get-WindowsCompatibleOS {
|
||||||
$build = Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion'
|
$build = Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion'
|
||||||
if ($build.CurrentBuild -ge 19041 -and ($($build.editionid -like 'Professional*') -or $($build.editionid -like 'Enterprise*'))) {
|
if ($build.CurrentBuild -ge 19041 -and ($($build.editionid -like 'Professional*') -or $($build.editionid -like 'Enterprise*') -or $($build.editionid -like 'Education*'))) {
|
||||||
Return $true
|
Return $true
|
||||||
}
|
}
|
||||||
Else {
|
Else {
|
||||||
|
Loading…
Reference in New Issue
Block a user