I have to search for three statements in logs
1)CLI
2)ADM
3)GPO
How do I search for this and display which one of these is not present? And store the result,for ex:If CLI is not found display CLI
Finding something that is not there is always a challenge. This blog post (https://www.duanewaddle.com/proving-a-negative/) addresses it well.
@richgalloway Thanks for looking into,I am OK with other approach as well of searching this. Mainly I have to search either three of these are found,if any one of them is found,initialise value to CLI,GPO or ADM