• Thanks - I have given it every try - As you know I am not good at all with powershell scripting but it will be helpful for me if a working script where I have to just change name of my server and query.

    Perhaps if you take my script and I am sure you will be able to reproduce the error.

    I really do appreciate your time.