# encoding: ascii
# api: powershell
# title: 
# description: Invoke-Sqlcmd2 : Cannot process argument transformation on parameter ‘ConnectionString’. Cannot convert the “System.Col
# version: 0.1
# license: CC0
# x-poshcode-id: 4138
# x-archived: 2013-05-07T07:47:13
#
# lections.Hashtable” value of type “System.Collections.Hashtable” to type “System.Data.SqlClient.SqlConnectionStringBuil
# der”.
# At C:\Users\1\Desktop\1.ps1:64 char:39
# +       Invoke-Sqlcmd2 -ConnectionString <<<<  $Connection -Query $Query
# + CategoryInfo          : InvalidData: (:) [Invoke-Sqlcmd2], ParameterBindin…mationException
# + FullyQualifiedErrorId : ParameterArgumentTransformationError,Invoke-Sqlcmd2
#
Invoke-Sqlcmd2 : Cannot process argument transformation on parameter 'ConnectionString'. Cannot convert the "System.Col
lections.Hashtable" value of type "System.Collections.Hashtable" to type "System.Data.SqlClient.SqlConnectionStringBuil
der".
At C:\Users\1\Desktop\1.ps1:64 char:39
+       Invoke-Sqlcmd2 -ConnectionString <<<<  $Connection -Query $Query
    + CategoryInfo          : InvalidData: (:) [Invoke-Sqlcmd2], ParameterBindin...mationException
    + FullyQualifiedErrorId : ParameterArgumentTransformationError,Invoke-Sqlcmd2
