---
updatedAt: 2025-08-14T13:35:19.000Z
agentTools:
  siteIndex: https://developer.n-able.com/llms.txt
  projectIndex: https://developer.n-able.com/n-central/llms.txt
---

# Bittorrent Detection and Mitigating - PowerShell

```powershell PowerShell
$Killtorrent="True" #set to true to stop any found software, false not to"

$softwarelist = "azureus","uTorrent","WebTorrent","utorrentie","utweb","tixati","qtwebengineprocess","qbittorrent","bittorrentie","bitcomet","bitcometservice","biglybt","bitlord","bittorrent","Transmission-qt"
$FoundTorrent=""


$processlist = Get-Process


foreach($softwarename in $softwarelist )
{
    if($processlist -match $softwarename)
    {
        if($FoundTorrent -eq "")
        {
            $FoundTorrent = $softwarename
        }
        else
        {
            $FoundTorrent = $FoundTorrent + ", " + $softwarename
        }
        if($Killtorrent -eq "True")
        {
            Stop-Process -Name $softwarename -Force
        }

        "Found: " + $softwarename
    }
    else
    {
       # "no"
    }
}

if($FoundTorrent -eq "")
{    
    $FoundTorrent = "No Torrent Found"
}
$FoundTorrent
```

```json Response Example
{"success":true}
```

# SCRIPT