SQLServerCentral.com Articles
Stairway to SQL PowerShell Level 10: Getting data in and out of SQL Server using SQL Server PowerShell
In this level we will look at ways of getting data into and out of SQL Server. We will specifically look at the Database object and a cmdlet Invoke-Sqlcmd or Invoke-SqlCmd2. To get data in, we are going to leverage a PowerShell script that uses SMO to put data into a predefined table in SQL Server.
No comments:
Post a Comment