• Thanks for your comments & is helpful to correct my writing skills brion. Also for your information, it is not been translated from any other sources, I've written this script and got help from diffrenent resources to resolve the issues on the script. The script which I created was working fine when I execute it inside the Powershell window but the same script if you call it from DOS prompt it thrown error due to missing libraries, which Sethu helped to resolved.

    Anyway thanks again for your comments...