Skip to content

Commit

Permalink
fix: edge service name
Browse files Browse the repository at this point in the history
  • Loading branch information
Xyueta committed Oct 21, 2023
1 parent d242e1c commit faf1464
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ $ProgressPreference = "SilentlyContinue"
$user = $env:USERNAME
$SID = (New-Object System.Security.Principal.NTAccount($user)).Translate([Security.Principal.SecurityIdentifier]).Value

$services = (Get-Service -Name "*CDP*" | Where-Object {$_.Status -eq "Running"}).Name
$services = (Get-Service -Name "*edge*" | Where-Object {$_.Status -eq "Running"}).Name
$processes = (Get-Process | Where-Object {($_.Path -like "$env:SystemDrive\Program Files (x86)\Microsoft\*") -or ($_.Name -like "*edge*")}).Id

if ($Exit -and ((-not $UninstallAll) -and (-not $UninstallEdge))) {
Expand Down

0 comments on commit faf1464

Please sign in to comment.