There are a couple of cmdlets I found that are very helpful.
Out-Datatable converts a variable into a datatable type
Write-Datatable writes a datatable type variable to a table in SQL Server
I don't have the original links (sorry) but Googling them should bring them up pretty quickly.
And then again, I might be wrong ...
David Webb