Video Screencast Help
Search Video Help Close Back
to help
New in the Rewards Catalog: Vouchers for "Symantec Technical Specialist" and "Symantec Certified Specialist" exams.

Massive deletion needed of deactivated agents

Updated: 05 Nov 2010 | 3 comments
alazanowski's picture
0 0 Votes
Login to vote

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.

Comments

ltr's picture
29
Oct
2009
0 Votes 0
Login to vote

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.

bierryf's picture
29
Apr
2010
0 Votes 0
Login to vote

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.

AlexisOost's picture
03
May
2010
0 Votes 0
Login to vote

Frédéric.  You can

Frédéric.  You can pre-authenticate using /opt/pdcli/calls/pdlogonuser  and then run your script.