Hi there,
What it does is to get the parameter which contains ..Message and ignore and the use the comma seperator to get the first and the fourth field. I understand there is no awk in powershell, so how do I get the first and the fourth output.
fileset='services_nac1051.csv services_nac1053.csv services_nac1055.csv'
echo '1.1.1.1.1;' `grep -ia '^Message Queuing down Level clients' $fileset | awk -F ',' '{print $1 ","} {print $(NF-1)}'`