Test-TransmissionSettings.ps1
19 Sep 2025Description
Purpose
Checks to see if the transmission download directory is “/share/Download/transmission/completed”, and updates to default settings if not.
Detailed Description
No detailed description provided.
Usage
Example 1
Test-TransmissionSettings
Notes
No additional notes.
Script
function Test-TransmissionSettings {
<#
.SYNOPSIS
Checks to see if the transmission download directory is "/share/Download/transmission/completed", and updates to default settings if not.
.EXAMPLE
Test-TransmissionSettings
#>
try {
$session = Get-TransmissionSession
if ($session.CacheSizeMb -ne "256") {
Write-Host "Transmission settings have reverted, updating to default..."
Set-TransmissionDefaultSettings
}
}
catch {
Write-Warning -Message "Failed to get transmission settings, NAS may be offline..."
}
}
Download
Please feel free to copy parts of the script or if you would like to download the entire script, simply click the download button. You can download the complete repository in a zip file by clicking the Download link in the menu bar on the left hand side of the page.
Report Issues
You can report an issue or contribute to this site on GitHub. Simply click the button below and add any relevant notes. I will attempt to respond to all issues as soon as possible.