Upload files to "/"

This commit is contained in:
aaron 2024-02-23 10:30:45 +00:00
parent 8d8afae056
commit 133db26fbf

View 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
}
}