you can write a function to connect to a mysql server and insert or alter entries.
Google gave me this example as first output:
Hmmmm... so i guess it has to be another script.. it cant be done directly withing ps1 script.. right?
No, I don't think there is a build in mysql-out function.
You will have to write yourself one, maybe with the example I posted earlier and pass your output to that function that puts it into the database.