Execute Sql Script Powershell Substring Regex