Update Services Scripts/Service - Dell SupportAssist Service - Stop.ps1
This commit is contained in:
@@ -1,18 +1,16 @@
|
|||||||
<#
|
<#
|
||||||
Author: Leng Yang
|
Author: Leng Yang
|
||||||
Company: UFS LLC
|
|
||||||
Date: 05-14-25
|
Date: 05-14-25
|
||||||
|
|
||||||
.Synopsis
|
.Synopsis
|
||||||
Sets Dell SupportAssist service to manual startup and stops it.
|
Sets Dell SupportAssist service to manual startup and stops it.
|
||||||
|
|
||||||
.Modified
|
.Modified
|
||||||
05-14-25 (LengY) - Original script created
|
05-14-25 (LengY) - Original script created
|
||||||
|
05-15-25 (GabeK) - Code Reviewed
|
||||||
#>
|
#>
|
||||||
|
|
||||||
# Variables #
|
|
||||||
$service = Get-Service | Where-Object { $_.DisplayName -like "*dell supportassist*" } | Select-Object Name
|
$service = Get-Service | Where-Object { $_.DisplayName -like "*dell supportassist*" } | Select-Object Name
|
||||||
# Functions #
|
|
||||||
|
|
||||||
# Start Script #
|
# Start Script #
|
||||||
If ($service) {
|
If ($service) {
|
||||||
|
|||||||
Reference in New Issue
Block a user