• vbscript is not secure enough, but powershell has it's dangerous too.

    i think that doing it in PowerShell is better, if you start from Zero, beacuse it's being added more abilities all the time (while vbscript is old and not updated).

    to dump data using powershell to a db, you can use a dll which will do the work for you :

    Bulk import text files using .net 2.0 SqlBulkCopy class in C#