Skip to content

Commit 640a51e

Browse files
committed
Add ASUS Armoury Crate, Samsung Magician and Seagate SeaTools to the maintenance script
1 parent 7cde7bc commit 640a51e

1 file changed

Lines changed: 33 additions & 6 deletions

File tree

Maintenance.ps1

Lines changed: 33 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -581,14 +581,31 @@ if (Test-CommandExists "docker") {
581581
Show-Output "Docker was not found."
582582
}
583583

584-
# Driver updates
584+
# Driver and firmware updates
585585
# This should be the last step in the script so that its updates are not installed during other updates.
586586
if ($Reboot -or $Shutdown) {
587587
Show-Output -ForegroundColor Cyan "Driver updates will not be started, as automatic reboot or shutdown is enabled."
588588
# } elseif ((Test-CommandExists "Test-PendingReboot") -and (Test-PendingReboot -SkipConfigurationManagerClientCheck -SkipPendingFileRenameOperationsCheck).IsRebootPending) {
589589
} elseif (Test-RebootPending) {
590590
Show-Output -ForegroundColor Cyan "Driver updates will not be started, as the computer is pending a reboot."
591591
} else {
592+
# ASUS Armoury Crate (non-blocking)
593+
$ArmouryCrateInstalled = Get-AppxPackage -Name "B9ECED6F.ArmouryCrate"
594+
if ($ArmouryCrateInstalled) {
595+
Show-Output -ForegroundColor Cyan "Starting ASUS Armoury Crate for firmware updates."
596+
Start-Process shell:appsFolder\B9ECED6F.ArmouryCrate_qmba6cd70vzyy!App
597+
} else {
598+
Show-Output "ASUS Armoury crate was not found."
599+
}
600+
601+
# Intel Driver & Support Assistant (non-blocking)
602+
if ($IntelDSAInstalled) {
603+
Start-Process -NoNewWindow "${IntelDSAPath}"
604+
Start-Process "https://www.intel.com/content/www/us/en/support/intel-driver-support-assistant.html"
605+
} else {
606+
Show-Output "Intel Driver & Support Assistant was not found."
607+
}
608+
592609
# Lenovo Vantage (non-blocking)
593610
if ($LenovoCommercialVantageInstalled) {
594611
Show-Output -ForegroundColor Cyan "Starting Lenovo Commercial Vantage for updates. Please select `"Check for system updates`" and install the suggested updates."
@@ -600,12 +617,22 @@ if ($Reboot -or $Shutdown) {
600617
Show-Output "Lenovo Vantage was not found."
601618
}
602619

603-
# Intel Driver & Support Assistant (non-blocking)
604-
if ($IntelDSAInstalled) {
605-
Start-Process -NoNewWindow "${IntelDSAPath}"
606-
Start-Process "https://www.intel.com/content/www/us/en/support/intel-driver-support-assistant.html"
620+
# Samsung Magician (non-blocking)
621+
$SamsungMagicianPath = "${env:ProgramFiles(x86)}\Samsung\Samsung Magician\SamsungMagician.exe"
622+
if (Test-Path "${SamsungMagicianPath}") {
623+
Show-Output "Starting Samsung Magician for HDD & SSD status check and firmware updates."
624+
Start-Process -NoNewWindow "${SamsungMagicianPath}"
607625
} else {
608-
Show-Output "Intel Driver & Support Assistant was not found."
626+
Show-Output "Samsung Magician was not found."
627+
}
628+
629+
# Seagate SeaTools (non-blocking)
630+
$SeaToolsPath = "${env:ProgramFiles}\SeaTools5\SeaTools.exe"
631+
if (Test-Path "${SeaToolsPath}") {
632+
Show-Output "Starting Seagate SeaTools for HDD & SSD status check and firmware updates."
633+
Start-Process -NoNewWindow "${SeaToolsPath}"
634+
} else {
635+
Show-Output "Seagate SeaTools was not found."
609636
}
610637
}
611638

0 commit comments

Comments
 (0)