SimplySql

1.6.2

Querying SQL (SQL Server, Oracle, PostgreSql, SQLite, & mySql) the PowerShell way: simple commands... powerful opportunities.

SimplySql is a module that provides an intuitive set of cmdlets for talking to databases that abstracts the vendor specifics, allowing you to focus on getting work done.  The basic pattern is to connect to a database, execute one or more sql
Querying SQL (SQL Server, Oracle, PostgreSql, SQLite, & mySql) the PowerShell way: simple commands... powerful opportunities.

SimplySql is a module that provides an intuitive set of cmdlets for talking to databases that abstracts the vendor specifics, allowing you to focus on getting work done.  The basic pattern is to connect to a database, execute one or more sql statements and then close your database connection.  This module provides cmdlets that map to this basic pattern.  Each provider has its own Open-*Connection cmdlet -> Open-SqlConnection, Open-SQLiteConnection, Open-OracleConnection, Open-PostGreConnection, Open-MySqlConnection.  The rest of the commands are provider agnostic.

Open/Close/Show/Test/Set/Get -SqlConnection >> Control as many active connections as you want.
Invoke- SqlScalar/SqlQuery/SqlUpdate >> Interact with those connections.
Get/Clear -SqlMessage >> Get Informational messages, if provider supports it.
Invoke-SqlBulkCopy >> Bulk Dataload from one connection to another.
Start/Complete/Undo -SqlTransaction >> Utilize transactions!
Show more

Minimum PowerShell version

5.0

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name SimplySql -RequiredVersion 1.6.2

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name SimplySql -Version 1.6.2

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) 2017 Mithrandyr. All rights reserved.

Package Details

Author(s)

  • Mithrandyr

Tags

SQL SQLite Database Oracle MySql PostGre Npgsql MSSQL

Dependencies

This module has no dependencies.

Release Notes

Currently Supporting Microsoft SQL, SQLite, MySql, PostGre and Oracle.  Check project repository for full Release Notes.  Latest addition is support for PostGIS Geometry datatype in PostGreSQL.

FileList

  • SimplySql.nuspec
  • Classes.ps1
  • SimplySql.psd1
  • SimplySql.psm1
  • Cmdlets\Clear-SqlMessage.ps1
  • Cmdlets\Close-SqlConnection.ps1
  • Cmdlets\Complete-SqlTransaction.ps1
  • Cmdlets\Get-SqlConnection.ps1
  • Cmdlets\Get-SqlMessage.ps1
  • Cmdlets\Invoke-SqlBulkCopy.ps1
  • Cmdlets\Invoke-SqlQuery.ps1
  • Cmdlets\Invoke-SqlScalar.ps1
  • Cmdlets\Invoke-SqlUpdate.ps1
  • Cmdlets\Set-SqlConnection.ps1
  • Cmdlets\Show-SqlConnection.ps1
  • Cmdlets\Start-SqlTransaction.ps1
  • Cmdlets\Test-SqlConnection.ps1
  • Cmdlets\Undo-SqlTransaction.ps1
  • Cmdlets\xTest.ps1
  • DataReaderToPSObject\DataReaderToPSObject.dll
  • DataReaderToPSObject\DataReaderToPSObject.dll.config
  • DataReaderToPSObject\Microsoft.Win32.Primitives.dll
  • DataReaderToPSObject\netstandard.dll
  • DataReaderToPSObject\System.AppContext.dll
  • DataReaderToPSObject\System.Collections.Concurrent.dll
  • DataReaderToPSObject\System.Collections.dll
  • DataReaderToPSObject\System.Collections.NonGeneric.dll
  • DataReaderToPSObject\System.Collections.Specialized.dll
  • DataReaderToPSObject\System.ComponentModel.dll
  • DataReaderToPSObject\System.ComponentModel.EventBasedAsync.dll
  • DataReaderToPSObject\System.ComponentModel.Primitives.dll
  • DataReaderToPSObject\System.ComponentModel.TypeConverter.dll
  • DataReaderToPSObject\System.Console.dll
  • DataReaderToPSObject\System.Data.Common.dll
  • DataReaderToPSObject\System.Diagnostics.Contracts.dll
  • DataReaderToPSObject\System.Diagnostics.Debug.dll
  • DataReaderToPSObject\System.Diagnostics.FileVersionInfo.dll
  • DataReaderToPSObject\System.Diagnostics.Process.dll
  • DataReaderToPSObject\System.Diagnostics.StackTrace.dll
  • DataReaderToPSObject\System.Diagnostics.TextWriterTraceListener.dll
  • DataReaderToPSObject\System.Diagnostics.Tools.dll
  • DataReaderToPSObject\System.Diagnostics.TraceSource.dll
  • DataReaderToPSObject\System.Diagnostics.Tracing.dll
  • DataReaderToPSObject\System.Drawing.Primitives.dll
  • DataReaderToPSObject\System.Dynamic.Runtime.dll
  • DataReaderToPSObject\System.Globalization.Calendars.dll
  • DataReaderToPSObject\System.Globalization.dll
  • DataReaderToPSObject\System.Globalization.Extensions.dll
  • DataReaderToPSObject\System.IO.Compression.dll
  • DataReaderToPSObject\System.IO.Compression.ZipFile.dll
  • DataReaderToPSObject\System.IO.dll
  • DataReaderToPSObject\System.IO.FileSystem.dll
  • DataReaderToPSObject\System.IO.FileSystem.DriveInfo.dll
  • DataReaderToPSObject\System.IO.FileSystem.Primitives.dll
  • DataReaderToPSObject\System.IO.FileSystem.Watcher.dll
  • DataReaderToPSObject\System.IO.IsolatedStorage.dll
  • DataReaderToPSObject\System.IO.MemoryMappedFiles.dll
  • DataReaderToPSObject\System.IO.Pipes.dll
  • DataReaderToPSObject\System.IO.UnmanagedMemoryStream.dll
  • DataReaderToPSObject\System.Linq.dll
  • DataReaderToPSObject\System.Linq.Expressions.dll
  • DataReaderToPSObject\System.Linq.Parallel.dll
  • DataReaderToPSObject\System.Linq.Queryable.dll
  • DataReaderToPSObject\System.Net.Http.dll
  • DataReaderToPSObject\System.Net.NameResolution.dll
  • DataReaderToPSObject\System.Net.NetworkInformation.dll
  • DataReaderToPSObject\System.Net.Ping.dll
  • DataReaderToPSObject\System.Net.Primitives.dll
  • DataReaderToPSObject\System.Net.Requests.dll
  • DataReaderToPSObject\System.Net.Security.dll
  • DataReaderToPSObject\System.Net.Sockets.dll
  • DataReaderToPSObject\System.Net.WebHeaderCollection.dll
  • DataReaderToPSObject\System.Net.WebSockets.Client.dll
  • DataReaderToPSObject\System.Net.WebSockets.dll
  • DataReaderToPSObject\System.ObjectModel.dll
  • DataReaderToPSObject\System.Reflection.dll
  • DataReaderToPSObject\System.Reflection.Extensions.dll
  • DataReaderToPSObject\System.Reflection.Primitives.dll
  • DataReaderToPSObject\System.Resources.Reader.dll
  • DataReaderToPSObject\System.Resources.ResourceManager.dll
  • DataReaderToPSObject\System.Resources.Writer.dll
  • DataReaderToPSObject\System.Runtime.CompilerServices.VisualC.dll
  • DataReaderToPSObject\System.Runtime.dll
  • DataReaderToPSObject\System.Runtime.Extensions.dll
  • DataReaderToPSObject\System.Runtime.Handles.dll
  • DataReaderToPSObject\System.Runtime.InteropServices.dll
  • DataReaderToPSObject\System.Runtime.InteropServices.RuntimeInformation.dll
  • DataReaderToPSObject\System.Runtime.Numerics.dll
  • DataReaderToPSObject\System.Runtime.Serialization.Formatters.dll
  • DataReaderToPSObject\System.Runtime.Serialization.Json.dll
  • DataReaderToPSObject\System.Runtime.Serialization.Primitives.dll
  • DataReaderToPSObject\System.Runtime.Serialization.Xml.dll
  • DataReaderToPSObject\System.Security.Claims.dll
  • DataReaderToPSObject\System.Security.Cryptography.Algorithms.dll
  • DataReaderToPSObject\System.Security.Cryptography.Csp.dll
  • DataReaderToPSObject\System.Security.Cryptography.Encoding.dll
  • DataReaderToPSObject\System.Security.Cryptography.Primitives.dll
  • DataReaderToPSObject\System.Security.Cryptography.X509Certificates.dll
  • DataReaderToPSObject\System.Security.Principal.dll
  • DataReaderToPSObject\System.Security.SecureString.dll
  • DataReaderToPSObject\System.Text.Encoding.dll
  • DataReaderToPSObject\System.Text.Encoding.Extensions.dll
  • DataReaderToPSObject\System.Text.RegularExpressions.dll
  • DataReaderToPSObject\System.Threading.dll
  • DataReaderToPSObject\System.Threading.Overlapped.dll
  • DataReaderToPSObject\System.Threading.Tasks.dll
  • DataReaderToPSObject\System.Threading.Tasks.Parallel.dll
  • DataReaderToPSObject\System.Threading.Thread.dll
  • DataReaderToPSObject\System.Threading.ThreadPool.dll
  • DataReaderToPSObject\System.Threading.Timer.dll
  • DataReaderToPSObject\System.ValueTuple.dll
  • DataReaderToPSObject\System.Xml.ReaderWriter.dll
  • DataReaderToPSObject\System.Xml.XDocument.dll
  • DataReaderToPSObject\System.Xml.XmlDocument.dll
  • DataReaderToPSObject\System.Xml.XmlSerializer.dll
  • DataReaderToPSObject\System.Xml.XPath.dll
  • DataReaderToPSObject\System.Xml.XPath.XDocument.dll
  • en-US\about_SimplySql.help.txt
  • en-US\about_SimplySql_Providers.help.txt
  • Functions\TestConnectionName.ps1
  • Providers\MySql\config.ps1
  • Providers\MySql\Google.Protobuf.dll
  • Providers\MySql\MySql.Data.dll
  • Providers\MySql\provider.ps1
  • Providers\Oracle\config.ps1
  • Providers\Oracle\Oracle.ManagedDataAccess.dll
  • Providers\Oracle\provider.ps1
  • Providers\PostGre\config.ps1
  • Providers\PostGre\GeoAPI.dll
  • Providers\PostGre\NetTopologySuite.dll
  • Providers\PostGre\NetTopologySuite.IO.PostGis.dll
  • Providers\PostGre\Npgsql.dll
  • Providers\PostGre\Npgsql.NetTopologySuite.dll
  • Providers\PostGre\provider.ps1
  • Providers\PostGre\System.Runtime.CompilerServices.Unsafe.dll
  • Providers\PostGre\System.Threading.Tasks.Extensions.dll
  • Providers\PostGre\System.ValueTuple.dll
  • Providers\SQL\config.ps1
  • Providers\SQLite\config.ps1
  • Providers\SQLite\provider.ps1
  • Providers\SQLite\System.Data.SQLite.dll
  • Providers\SQLite\x64\SQLite.Interop.dll
  • Providers\SQLite\x86\SQLite.Interop.dll

Version History

Version Downloads Last updated
2.0.4.75 226,174 6/15/2024
2.0.3.73 55,510 5/11/2024
2.0.2.70 107,074 3/2/2024
2.0.1.69 327 3/1/2024
2.0.0.67 25,224 2/9/2024
1.9.1 665,620 1/29/2023
1.9.0 214,530 5/28/2022
1.8.0 124,033 4/2/2021
1.7.0 4,933 2/16/2021
1.6.2 (current version) 64,282 2/26/2019
1.6.1 122 2/7/2019
1.6.0 61 2/7/2019
1.5.9 216 11/27/2018
1.5.4 155 10/5/2018
1.5.2 83 9/18/2018
1.5.1 57 9/4/2018
1.4.1 248 6/11/2018
1.4.0 1,253 5/16/2018
1.3.8 51 5/11/2018
1.3.7 42 5/9/2018
1.3.6 96 3/24/2018
1.3.5 42 3/22/2018
1.3.3 61 3/19/2018
1.3.2 122 2/12/2018
1.3.1 37 2/12/2018
1.3.0 39 2/12/2018
1.2.0 94 1/8/2018
1.1.1 100 11/30/2017
Show less