Execute SQL with powershell Use powershell to run SQL remotely Get-help Get-Help ExecuteSqlInteractively Get-Help ExecuteSqlInteractively -Examples