Upload files to "/"
This commit is contained in:
parent
8d8afae056
commit
133db26fbf
9
Uninstall-DellSoftware.ps1
Normal file
9
Uninstall-DellSoftware.ps1
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# Get all dell software
|
||||||
|
$dellSoftware = Get-WmiObject -Class Win32_Product | Where-Object Name -Match Dell #| Format-Table
|
||||||
|
|
||||||
|
# Uninstall all Dell software except Power Manager
|
||||||
|
foreach ($software in $dellSoftware) {
|
||||||
|
if ($software.Name -ne "Dell Power Manager Service") {
|
||||||
|
& msiexec /x $software.IdentifyingNumber | Out-Null
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user