Export to CSV from SQL Table

As Technet Gallery is retiring so moving the code to Git Hub. (click below github download link for this script)

Export to CSV from SQL Table

Hi All,

Today I am sharing a powershell method for exporting the content of SQL Table to CSV file.

This can be used from remote server or machine as well if you have sql powershell installed.

Download & install sql management tools from below path on your admin server.

http://www.microsoft.com/en-us/download/details.aspx?id=7593

This will install management studio as well as SQL powershell snapins.

Download the full code from above.

follow me at http://techwizard.cloud

 

Tech Wizard

https://techwizard.cloud

https://syscloudpro.com/

PowerShell Cheat Book

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s