dataplat / Invoke-SqlCmd2

PowerShell module containing Invoke-SqlCmd2
MIT License
68 stars 35 forks source link

Invoke-SqlCmd2, messaging improvements #20

Closed niphlod closed 6 years ago

niphlod commented 6 years ago

here's as discussed on slack (still a day or two late, sorry) the improvements on invoke-sqlcmd2, backported from what dbatools' will shortly leverage.

Actions (maybe they should be inserted in CHANGELOG, too, with ParseGO that we forgot to add already ^_^), roughly in logic order:

There are examples for the last feature, which took me some time to craft together with the invaluable help of @FriedrichWeinmann

NOTE: -MessagesToOutput leverages functionality that is there just from Powershell 3 onwards