Premiere commit - Omika
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
# Arrête proprement le Worker E2E Omika s'il tourne encore.
|
||||
$procs = Get-CimInstance Win32_Process -Filter "name='dotnet.exe'" | Where-Object { $_.CommandLine -like '*Omika.Worker*' }
|
||||
if ($procs) {
|
||||
foreach ($p in $procs) {
|
||||
Stop-Process -Id $p.ProcessId -Force
|
||||
Write-Host "Worker E2E arrêté (PID $($p.ProcessId))."
|
||||
}
|
||||
} else {
|
||||
Write-Host "Aucun Worker E2E en cours."
|
||||
}
|
||||
Reference in New Issue
Block a user