dataplat / Invoke-SqlCmd2

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

Changed Resolve-Path and Test-Path to use LiteralPath vs Path. #17

Closed iguanaware closed 6 years ago

iguanaware commented 6 years ago

Path contains wild card expressions that can lead to problems.

LiteralPath allows for legal files names like anything[here].sql

see https://technet.microsoft.com/en-us/library/ff730956.aspx

potatoqualitee commented 6 years ago

Thanks to you both!