From 99427ea039e4f12ba294d0d72b02c5ee7f538081 Mon Sep 17 00:00:00 2001 From: Gabe Date: Tue, 5 Aug 2025 15:54:52 +0000 Subject: [PATCH] Update Services Scripts/Service - Dell SupportAssist Service - Start.ps1 --- ... - Dell SupportAssist Service - Start.ps1} | 48 +++++++++---------- 1 file changed, 24 insertions(+), 24 deletions(-) rename Services Scripts/{Service - Start Dell SupportAssist Service.ps1 => Service - Dell SupportAssist Service - Start.ps1} (97%) diff --git a/Services Scripts/Service - Start Dell SupportAssist Service.ps1 b/Services Scripts/Service - Dell SupportAssist Service - Start.ps1 similarity index 97% rename from Services Scripts/Service - Start Dell SupportAssist Service.ps1 rename to Services Scripts/Service - Dell SupportAssist Service - Start.ps1 index d03360f..5745bc1 100644 --- a/Services Scripts/Service - Start Dell SupportAssist Service.ps1 +++ b/Services Scripts/Service - Dell SupportAssist Service - Start.ps1 @@ -1,25 +1,25 @@ -<# -Author: Leng Yang -Date: 05-14-25 - -.Synopsis -Sets Dell SupportAssist service to automatic startup and attempts to start it. - -.Modified -05-14-25 (LengY) - Original script created -05-15-25 (GabeK) - Code Reviewed -#> - -$service = Get-Service | Where-Object { $_.DisplayName -like "*dell supportassist*" } | Select-Object Name - -# Start Script # -If ($service) { - Write-Host "Found $($service.name). Starting service and setting to automatic startup." - Set-Service -Name $service.name -StartupType Automatic - Start-Service -Name $service.name -ErrorAction SilentlyContinue - Write-Host "" - Get-Service | Where-Object { $_.DisplayName -like "*dell supportassist*" } | Select -Property displayname, starttype, status - Write-Host "" - Write-Host "May need to reboot to start service." -} +<# +Author: Leng Yang +Date: 05-14-25 + +.Synopsis +Sets Dell SupportAssist service to automatic startup and attempts to start it. + +.Modified +05-14-25 (LengY) - Original script created +05-15-25 (GabeK) - Code Reviewed +#> + +$service = Get-Service | Where-Object { $_.DisplayName -like "*dell supportassist*" } | Select-Object Name + +# Start Script # +If ($service) { + Write-Host "Found $($service.name). Starting service and setting to automatic startup." + Set-Service -Name $service.name -StartupType Automatic + Start-Service -Name $service.name -ErrorAction SilentlyContinue + Write-Host "" + Get-Service | Where-Object { $_.DisplayName -like "*dell supportassist*" } | Select -Property displayname, starttype, status + Write-Host "" + Write-Host "May need to reboot to start service." +} # End Script # \ No newline at end of file