09-29-2012 08:06 AM
Hi Team,
I need to create a script to find the policy name for n numbers of clients.
I have used bppllist -byclient <clientname>
Solved! Go to Solution.
09-29-2012 01:41 PM
If you are using unix/ linux this should work
bpcoverage -c <clientname> -no_client_query -hardware -no_hw_header -no_cov_header |awk '{print $1}' |sed 's/^CLIENT//g' |sed 's/^://' |sed 's/^Policy//' |sed 's/-//g'
Martin
09-29-2012 08:39 AM
09-29-2012 08:52 AM
Hi Ashish,
Thanks for your help. But it didnt help me for my question.
09-29-2012 01:41 PM
If you are using unix/ linux this should work
bpcoverage -c <clientname> -no_client_query -hardware -no_hw_header -no_cov_header |awk '{print $1}' |sed 's/^CLIENT//g' |sed 's/^://' |sed 's/^Policy//' |sed 's/-//g'
Martin
09-29-2012 10:55 PM
Hi Martin,
Thanks for your help. It is working fine. But still i feel it is time consuming while searching n number of clients via script.
Is there any other quick way to get the policy name alone for n number of clients.
Thanks in Advance!!
Regards,
Gopinath