This module provides cmdlets for writing data to SQL Server databases. Out-DataTable, Add-SqlTable, and Write-DataTable (adapted from Chad Miller's original code) provide the foundation. Those three functions in sequence allow you to send Powershell data into a SQL Server table. Out-SqlTable is a wrapper that combines the three for convenience.
Building upon Invoke-Sqlcmd's notion of default context, Invoke-InferredSqlcmd extends it to work even if you are on a non-SQL Server drive. Get-DBPathInfo and Update-DBEnvironment are used by the other cmdlets on this page to identify this default context and are exposed here for your use as well.