mirror of
https://github.com/amidaware/tacticalrmm.git
synced 2026-04-26 15:05:57 +03:00
[GH-ISSUE #976] Right Click Mass Delete / Uninstall #2536
Labels
No labels
In Process
bug
bug
dev-triage
documentation
duplicate
enhancement
fixed
good first issue
help wanted
integration
invalid
pull-request
question
requires agent update
security
ui tweak
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tacticalrmm#2536
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @davidrudduck on GitHub (Feb 16, 2022).
Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/976
Originally assigned to: @wh1te909 on GitHub.
Is your feature request related to a problem? Please describe.
It is PAINFUL to remove a large number of agents presently.
The way our process works, we use TRMM for Incident Response, so at the end of a project we need to remotely remove our agent and remove the agent from TRMM.
Describe the solution you'd like
Ability to right click a Company or Site and selecting between "MASS UNINSTALL AND REMOVE" and "MASS REMOVE" agents.
@bc24fl commented on GitHub (Feb 16, 2022):
Have you tried to do this using the API?
@davidrudduck commented on GitHub (Feb 16, 2022):
Not all my team would know how to use the API; and this is generally a task I'd assign to a lower level engineer to perform.
I don't even know what endpoint I'd be polling. Can you please provide an example of how this might work with the API?
@bc24fl commented on GitHub (Feb 17, 2022):
Not sure what the devs are going to do with your request but I know they're swamped. I've been working on some related scripts and modified this one below which should work. You only need to run this script from one device and it will loop through each agent based on the provided client/site name and uninstall / delete each (hopefully =) ) . Report back results and we'll add it to the community scripts for others to use.
https://github.com/bc24fl/tacticalrmm-scripts/blob/main/Mass_Delete_Agents.ps1
@wh1te909 commented on GitHub (Feb 19, 2022):
should be simple enough we can just add a "force" checkbox to the current delete client/site delete form as now it won't let you delete it if there are any agents still in that client/site
@silversword411 commented on GitHub (Mar 16, 2022):
Added script to wip
github.com/amidaware/community-scripts@bab51110c6