mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2024-12-27 16:31: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
|
||||
[Dd]esktop.ini
|
||||
|
||||
# Ignore Generated XAML Files
|
||||
xaml/inputApp.xaml
|
||||
xaml/inputFeatures.xaml
|
||||
xaml/inputTweaks.xaml
|
||||
|
||||
# Executables and Configs
|
||||
winget.msixbundle
|
||||
pester.ps1
|
||||
|
@ -1,5 +1,5 @@
|
||||
function Invoke-GPUCheck {
|
||||
$gpuInfo = Get-WmiObject Win32_VideoController
|
||||
$gpuInfo = Get-CimInstance Win32_VideoController
|
||||
|
||||
foreach ($gpu in $gpuInfo) {
|
||||
$gpuName = $gpu.Name
|
||||
|
@ -1673,7 +1673,7 @@ function Invoke-WinUtilFeatureInstall {
|
||||
}
|
||||
}
|
||||
function Invoke-GPUCheck {
|
||||
$gpuInfo = Get-WmiObject Win32_VideoController
|
||||
$gpuInfo = Get-CimInstance Win32_VideoController
|
||||
|
||||
foreach ($gpu in $gpuInfo) {
|
||||
$gpuName = $gpu.Name
|
||||
|
Loading…
Reference in New Issue
Block a user