farag2
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
6 deletions
-
Win 10.ps1
|
@ -2,14 +2,9 @@ |
|
|
$services = @( |
|
|
$services = @( |
|
|
"CDPSvc", |
|
|
"CDPSvc", |
|
|
"DiagTrack", |
|
|
"DiagTrack", |
|
|
"diagnosticshub.standardcollector.service", |
|
|
|
|
|
"dmwappushservice", |
|
|
|
|
|
"DusmSvc", |
|
|
"DusmSvc", |
|
|
"lfsvc", |
|
|
"lfsvc", |
|
|
"MapsBroker", |
|
|
"NcbService") |
|
|
"NcbService", |
|
|
|
|
|
"SSDPSRV", |
|
|
|
|
|
"wcncsvc") |
|
|
|
|
|
Foreach ($service in $services) |
|
|
Foreach ($service in $services) |
|
|
{ |
|
|
{ |
|
|
Get-Service $service | Stop-Service -ErrorAction SilentlyContinue |
|
|
Get-Service $service | Stop-Service -ErrorAction SilentlyContinue |
|
|