Hi,
is there a way to export output of ps1 script into mysql db under Linux/Windows..? Im trying to google it, but no luck...
Thank you.
Hi,
you can write a function to connect to a mysql server and insert or alter entries.
Google gave me this example as first output:
http://universitytechnology.blogspot.de/2009/09/powershell-mysql-insert.html
Regards
Hmmmm... so i guess it has to be another script.. it cant be done directly withing ps1 script.. right?
Thx
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.