Hi FrankAnellia-9381,
You can try to use SqlBulkCopy with Powershell to copy data from tables in one database to the same tables into a database on a different server. Please refer to this article which might help.
You also can use powershell dbatools Copy-DbaDbTableData to copy data.
For example, to copy all the data from table dbo.test_table (2-part name) in database dbatools_from on sql1 to table test_table in database dbatools_from on sql2:
Copy-DbaDbTableData -SqlInstance sql1 -Destination sql2 -Database dbatools_from -Table dbo.test_table
Please refer to Copy-DbaDbTableData for more details.
Best Regards,
Amelia
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.