Harden RF node control and agent updates
This commit is contained in:
14
tools/uninstall_rf001_main_autostart.ps1
Normal file
14
tools/uninstall_rf001_main_autostart.ps1
Normal file
@@ -0,0 +1,14 @@
|
||||
$ErrorActionPreference = "Stop"
|
||||
|
||||
$taskName = "SDR Rover HTTP Control Server"
|
||||
$task = Get-ScheduledTask -TaskName $taskName -ErrorAction SilentlyContinue
|
||||
if ($null -ne $task) {
|
||||
Stop-ScheduledTask -TaskName $taskName -ErrorAction SilentlyContinue
|
||||
Unregister-ScheduledTask -TaskName $taskName -Confirm:$false
|
||||
"AUTOSTART_REMOVED=YES"
|
||||
}
|
||||
else {
|
||||
"AUTOSTART_REMOVED=NOT_PRESENT"
|
||||
}
|
||||
"RUNTIME_DATA_REMOVED=NO"
|
||||
"RF_TX=0"
|
||||
Reference in New Issue
Block a user