As Technet Gallery is retiring so moving the code to Git Hub. (click below github download link for this script)
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.
This will install management studio as well as SQL powershell snapins.
Download the full code from above.
follow me at http://techwizard.cloud