Massive deletion needed of deactivated agents
Updated: 05 Nov 2010 | 3 comments
We have about 600+ agents under a department where we had to uninstall everything from them. I've disabled the agents, but we need to delete them. Its such a pain to delete these manually 1 by 1 through the web gui. Is there a command line or some automated way to do this? I just want to delete the entire department and all its subagents alltogether.
discussion Filed Under:
Comments
Solution : Upgrade to PD6.6 ?
Hi,
According to me, the better way is to upgrade your environment to PD 6.6 and use the new CLI. You will be able to use the pdlistagent and the pddeactivateagent command in a script.
Massive deactivated agents
Hi,
I saw in a post that you talked about pdlistagent and pddeactivateagent command in a script.
I have to do a script for massively activate agents after their installation but I don't see how avoid credentials in the shell.
I try these kind of script but it doesn't work :
/opt/pdcli/calls/pdlistagent <<FIN
root
xxxxxxx
FIN
Thanks for your help,
Frédéric.
Frédéric. You can
Frédéric. You can pre-authenticate using /opt/pdcli/calls/pdlogonuser and then run your script.
Would you like to reply?
Login or Register to post your comment.