Sometimes I need to copy data from production database to my local SQLEXPRESS instance and usually I use „SQL Server Import And Export Wizard”. It is probably easiest and fastest way to set things up and copy required tables to your local environment but I often need to repeat same process to get latest data to make analyse and I decided to make it even easier and… faster.

In this scenario I want to prepare generic functionality for preparing query parameters string for uri that can be used later for webrequests etc. It is a good idea to create description that will allow other users to use Get-Help …

Powershell: Function with Comment-Based Help Read more »