mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2024-12-29 01:11:30 -06:00
Compare commits
2 Commits
54a575274d
...
c3b12e89f8
Author | SHA1 | Date | |
---|---|---|---|
|
c3b12e89f8 | ||
|
f776717f67 |
5
.gitignore
vendored
5
.gitignore
vendored
@ -15,6 +15,11 @@ winutil.pdb
|
|||||||
# Folder config file
|
# Folder config file
|
||||||
[Dd]esktop.ini
|
[Dd]esktop.ini
|
||||||
|
|
||||||
|
# Ignore Generated XAML Files
|
||||||
|
xaml/inputApp.xaml
|
||||||
|
xaml/inputFeatures.xaml
|
||||||
|
xaml/inputTweaks.xaml
|
||||||
|
|
||||||
# Executables and Configs
|
# Executables and Configs
|
||||||
winget.msixbundle
|
winget.msixbundle
|
||||||
pester.ps1
|
pester.ps1
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
function Invoke-GPUCheck {
|
function Invoke-GPUCheck {
|
||||||
$gpuInfo = Get-WmiObject Win32_VideoController
|
$gpuInfo = Get-CimInstance Win32_VideoController
|
||||||
|
|
||||||
foreach ($gpu in $gpuInfo) {
|
foreach ($gpu in $gpuInfo) {
|
||||||
$gpuName = $gpu.Name
|
$gpuName = $gpu.Name
|
||||||
|
@ -1673,7 +1673,7 @@ function Invoke-WinUtilFeatureInstall {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
function Invoke-GPUCheck {
|
function Invoke-GPUCheck {
|
||||||
$gpuInfo = Get-WmiObject Win32_VideoController
|
$gpuInfo = Get-CimInstance Win32_VideoController
|
||||||
|
|
||||||
foreach ($gpu in $gpuInfo) {
|
foreach ($gpu in $gpuInfo) {
|
||||||
$gpuName = $gpu.Name
|
$gpuName = $gpu.Name
|
||||||
|
Loading…
Reference in New Issue
Block a user