Hi Saranraj,
Sorry I must have misread - I didn't see that he was trying to
remove all versions of Reader - just find the PCs which needed to be
upgraded in the first instance.
I can see that your script is great as the pre-deployment task on
the software deployment for removing any old version, but he was
trying to identify all the PCs running any version first to designate
the ones which required the deployment.
Regards,
Dean