SimplySql

2.1.0.96

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

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

Install-PSResource -Name SimplySql

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) 2022 Mithrandyr. All rights reserved.

Package Details

Author(s)

  • Mithrandyr

Tags

SQL SQLite Database Oracle MySql PostGre Npgsql MSSQL

Cmdlets

Clear-SqlMessage Close-SqlConnection Complete-SqlTransaction Get-SqlConnection Get-SqlMessage Get-SqlTransaction Invoke-SqlBulkCopy Invoke-SqlQuery Invoke-SqlScalar Invoke-SqlUpdate Open-MySqlConnection Open-OracleConnection Open-PostGreConnection Open-SQLConnection Open-SQLiteConnection Set-SqlConnection Show-SqlConnection Start-SqlTransaction Test-SqlConnection Undo-SqlTransaction

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
  • SimplySql.Cmdlets.dll
  • bin\PS5\netstandard.dll
  • bin\PS5\System.Diagnostics.TraceSource.dll
  • bin\PS5\System.Memory.dll
  • bin\PS5\System.Runtime.Numerics.dll
  • bin\PS5\System.Threading.Tasks.Parallel.dll
  • bin\PS7\Npgsql.NetTopologySuite.dll
  • bin\PS7\linux-x64\System.Security.Cryptography.ProtectedData.dll
  • bin\PS5\NetTopologySuite.IO.PostGis.dll
  • bin\PS5\System.Diagnostics.Tracing.dll
  • bin\PS5\System.Net.Http.dll
  • bin\PS5\System.Runtime.Serialization.Formatters.dll
  • bin\PS5\System.Threading.Thread.dll
  • bin\PS7\System.ClientModel.dll
  • bin\PS7\linux-x64\System.Windows.Extensions.dll
  • SimplySql.psd1
  • bin\PS5\Npgsql.dll
  • bin\PS5\System.Drawing.Primitives.dll
  • bin\PS5\System.Net.NameResolution.dll
  • bin\PS5\System.Runtime.Serialization.Json.dll
  • bin\PS5\System.Threading.ThreadPool.dll
  • bin\PS7\System.Configuration.ConfigurationManager.dll
  • bin\PS7\osx-x64\Microsoft.Data.SqlClient.dll
  • bin\Azure.Identity.dll
  • bin\PS5\Npgsql.NetTopologySuite.dll
  • bin\PS5\System.Dynamic.Runtime.dll
  • bin\PS5\System.Net.NetworkInformation.dll
  • bin\PS5\System.Runtime.Serialization.Primitives.dll
  • bin\PS5\System.Threading.Timer.dll
  • bin\PS7\System.Diagnostics.DiagnosticSource.dll
  • bin\PS7\osx-x64\Microsoft.Win32.SystemEvents.dll
  • bin\NetTopologySuite.dll
  • bin\PS5\System.AppContext.dll
  • bin\PS5\System.Formats.Asn1.dll
  • bin\PS5\System.Net.Ping.dll
  • bin\PS5\System.Runtime.Serialization.Xml.dll
  • bin\PS5\System.ValueTuple.dll
  • bin\PS7\System.Formats.Asn1.dll
  • bin\PS7\osx-x64\SimplySql.Engine.dll
  • bin\Npgsql.NetTopologySuite.dll
  • bin\PS5\System.Buffers.dll
  • bin\PS5\System.Globalization.Calendars.dll
  • bin\PS5\System.Net.Primitives.dll
  • bin\PS5\System.Security.AccessControl.dll
  • bin\PS5\System.Xml.ReaderWriter.dll
  • bin\PS7\System.IdentityModel.Tokens.Jwt.dll
  • bin\PS7\osx-x64\SQLite.Interop.dll
  • bin\Oracle.ManagedDataAccess.dll
  • bin\PS5\System.ClientModel.dll
  • bin\PS5\System.Globalization.dll
  • bin\PS5\System.Net.Requests.dll
  • bin\PS5\System.Security.Claims.dll
  • bin\PS5\System.Xml.XDocument.dll
  • bin\PS7\System.Management.Automation.dll
  • bin\PS7\osx-x64\System.Data.SQLite.dll
  • en-US\about_SimplySql.help.txt
  • bin\PS5\System.Collections.Concurrent.dll
  • bin\PS5\System.Globalization.Extensions.dll
  • bin\PS5\System.Net.Security.dll
  • bin\PS5\System.Security.Cryptography.Algorithms.dll
  • bin\PS5\System.Xml.XmlDocument.dll
  • bin\PS7\System.Memory.Data.dll
  • bin\PS7\osx-x64\System.Diagnostics.PerformanceCounter.dll
  • en-US\SimplySql.Cmdlets.dll-Help.xml
  • bin\PS5\System.Collections.dll
  • bin\PS5\System.IdentityModel.Tokens.Jwt.dll
  • bin\PS5\System.Net.Sockets.dll
  • bin\PS5\System.Security.Cryptography.Csp.dll
  • bin\PS5\System.Xml.XmlSerializer.dll
  • bin\PS7\System.Security.Permissions.dll
  • bin\PS7\osx-x64\System.DirectoryServices.dll
  • bin\PS5\Azure.Core.dll
  • bin\PS5\System.Collections.Immutable.dll
  • bin\PS5\System.IO.Compression.dll
  • bin\PS5\System.Net.WebHeaderCollection.dll
  • bin\PS5\System.Security.Cryptography.Encoding.dll
  • bin\PS5\System.Xml.XPath.dll
  • bin\PS7\System.Text.Encodings.Web.dll
  • bin\PS7\osx-x64\System.DirectoryServices.Protocols.dll
  • bin\PS5\Microsoft.Bcl.AsyncInterfaces.dll
  • bin\PS5\System.Collections.NonGeneric.dll
  • bin\PS5\System.IO.Compression.ZipFile.dll
  • bin\PS5\System.Net.WebSockets.Client.dll
  • bin\PS5\System.Security.Cryptography.Primitives.dll
  • bin\PS5\System.Xml.XPath.XDocument.dll
  • bin\PS7\System.Text.Json.dll
  • bin\PS7\osx-x64\System.Drawing.Common.dll
  • bin\PS5\Microsoft.Bcl.HashCode.dll
  • bin\PS5\System.Collections.Specialized.dll
  • bin\PS5\System.IO.dll
  • bin\PS5\System.Net.WebSockets.dll
  • bin\PS5\System.Security.Cryptography.ProtectedData.dll
  • bin\PS7\Azure.Core.dll
  • bin\PS5\win-x64\SimplySql.Engine.dll
  • bin\PS7\osx-x64\System.Runtime.Caching.dll
  • bin\PS5\Microsoft.Data.SqlClient.dll
  • bin\PS5\System.ComponentModel.dll
  • bin\PS5\System.IO.FileSystem.AccessControl.dll
  • bin\PS5\System.Numerics.Vectors.dll
  • bin\PS5\System.Security.Cryptography.X509Certificates.dll
  • bin\PS7\Microsoft.Bcl.AsyncInterfaces.dll
  • bin\PS5\win-x64\SQLite.Interop.dll
  • bin\PS7\osx-x64\System.Security.Cryptography.ProtectedData.dll
  • bin\PS5\Microsoft.Data.SqlClient.SNI.arm64.dll
  • bin\PS5\System.ComponentModel.EventBasedAsync.dll
  • bin\PS5\System.IO.FileSystem.dll
  • bin\PS5\System.ObjectModel.dll
  • bin\PS5\System.Security.Permissions.dll
  • bin\PS7\Microsoft.Extensions.DependencyInjection.Abstractions.dll
  • bin\PS5\win-x64\System.Data.SQLite.dll
  • bin\PS7\osx-x64\System.Windows.Extensions.dll
  • bin\PS5\Microsoft.Data.SqlClient.SNI.x64.dll
  • bin\PS5\System.ComponentModel.Primitives.dll
  • bin\PS5\System.IO.FileSystem.DriveInfo.dll
  • bin\PS5\System.Reflection.dll
  • bin\PS5\System.Security.Principal.dll
  • bin\PS7\Microsoft.Extensions.Logging.Abstractions.dll
  • bin\PS5\win-x86\SimplySql.Engine.dll
  • bin\PS7\win-x64\Microsoft.Data.SqlClient.dll
  • bin\PS5\Microsoft.Data.SqlClient.SNI.x86.dll
  • bin\PS5\System.ComponentModel.TypeConverter.dll
  • bin\PS5\System.IO.FileSystem.Primitives.dll
  • bin\PS5\System.Reflection.Extensions.dll
  • bin\PS5\System.Security.Principal.Windows.dll
  • bin\PS7\Microsoft.Identity.Client.dll
  • bin\PS5\win-x86\SQLite.Interop.dll
  • bin\PS7\win-x64\Microsoft.Data.SqlClient.SNI.dll
  • bin\PS5\Microsoft.Extensions.DependencyInjection.Abstractions.dll
  • bin\PS5\System.Configuration.ConfigurationManager.dll
  • bin\PS5\System.IO.FileSystem.Watcher.dll
  • bin\PS5\System.Reflection.Primitives.dll
  • bin\PS5\System.Security.SecureString.dll
  • bin\PS7\Microsoft.Identity.Client.Extensions.Msal.dll
  • bin\PS5\win-x86\System.Data.SQLite.dll
  • bin\PS7\win-x64\Microsoft.Win32.SystemEvents.dll
  • bin\PS5\Microsoft.Extensions.Logging.Abstractions.dll
  • bin\PS5\System.Console.dll
  • bin\PS5\System.IO.IsolatedStorage.dll
  • bin\PS5\System.Resources.Reader.dll
  • bin\PS5\System.Text.Encoding.dll
  • bin\PS7\Microsoft.IdentityModel.Abstractions.dll
  • bin\PS7\linux-x64\Microsoft.Data.SqlClient.dll
  • bin\PS7\win-x64\SimplySql.Engine.dll
  • bin\PS5\Microsoft.Identity.Client.dll
  • bin\PS5\System.Data.Common.dll
  • bin\PS5\System.IO.MemoryMappedFiles.dll
  • bin\PS5\System.Resources.ResourceManager.dll
  • bin\PS5\System.Text.Encoding.Extensions.dll
  • bin\PS7\Microsoft.IdentityModel.JsonWebTokens.dll
  • bin\PS7\linux-x64\Microsoft.Win32.SystemEvents.dll
  • bin\PS7\win-x64\SQLite.Interop.dll
  • bin\PS5\Microsoft.Identity.Client.Extensions.Msal.dll
  • bin\PS5\System.Diagnostics.Contracts.dll
  • bin\PS5\System.IO.Pipes.dll
  • bin\PS5\System.Resources.Writer.dll
  • bin\PS5\System.Text.Encodings.Web.dll
  • bin\PS7\Microsoft.IdentityModel.Logging.dll
  • bin\PS7\linux-x64\SimplySql.Engine.dll
  • bin\PS7\win-x64\System.Data.SQLite.dll
  • bin\PS5\Microsoft.IdentityModel.Abstractions.dll
  • bin\PS5\System.Diagnostics.Debug.dll
  • bin\PS5\System.IO.UnmanagedMemoryStream.dll
  • bin\PS5\System.Runtime.CompilerServices.Unsafe.dll
  • bin\PS5\System.Text.Json.dll
  • bin\PS7\Microsoft.IdentityModel.Protocols.dll
  • bin\PS7\linux-x64\SQLite.Interop.dll
  • bin\PS7\win-x64\System.Diagnostics.PerformanceCounter.dll
  • bin\PS5\Microsoft.IdentityModel.JsonWebTokens.dll
  • bin\PS5\System.Diagnostics.DiagnosticSource.dll
  • bin\PS5\System.Linq.dll
  • bin\PS5\System.Runtime.CompilerServices.VisualC.dll
  • bin\PS5\System.Text.RegularExpressions.dll
  • bin\PS7\Microsoft.IdentityModel.Protocols.OpenIdConnect.dll
  • bin\PS7\linux-x64\System.Data.SQLite.dll
  • bin\PS7\win-x64\System.DirectoryServices.dll
  • bin\PS5\Microsoft.IdentityModel.Logging.dll
  • bin\PS5\System.Diagnostics.FileVersionInfo.dll
  • bin\PS5\System.Linq.Expressions.dll
  • bin\PS5\System.Runtime.dll
  • bin\PS5\System.Threading.Channels.dll
  • bin\PS7\Microsoft.IdentityModel.Tokens.dll
  • bin\PS7\linux-x64\System.Diagnostics.PerformanceCounter.dll
  • bin\PS7\win-x64\System.DirectoryServices.Protocols.dll
  • bin\PS5\Microsoft.IdentityModel.Protocols.dll
  • bin\PS5\System.Diagnostics.PerformanceCounter.dll
  • bin\PS5\System.Linq.Parallel.dll
  • bin\PS5\System.Runtime.Extensions.dll
  • bin\PS5\System.Threading.dll
  • bin\PS7\Microsoft.SqlServer.Server.dll
  • bin\PS7\linux-x64\System.DirectoryServices.dll
  • bin\PS7\win-x64\System.Drawing.Common.dll
  • bin\PS5\Microsoft.IdentityModel.Protocols.OpenIdConnect.dll
  • bin\PS5\System.Diagnostics.Process.dll
  • bin\PS5\System.Linq.Queryable.dll
  • bin\PS5\System.Runtime.Handles.dll
  • bin\PS5\System.Threading.Overlapped.dll
  • bin\PS7\MySqlConnector.dll
  • bin\PS7\linux-x64\System.DirectoryServices.Protocols.dll
  • bin\PS7\win-x64\System.Runtime.Caching.dll
  • bin\PS5\Microsoft.IdentityModel.Tokens.dll
  • bin\PS5\System.Diagnostics.StackTrace.dll
  • bin\PS5\System.Management.Automation.dll
  • bin\PS5\System.Runtime.InteropServices.dll
  • bin\PS5\System.Threading.Tasks.dll
  • bin\PS7\NetTopologySuite.IO.PostGis.dll
  • bin\PS7\linux-x64\System.Drawing.Common.dll
  • bin\PS7\win-x64\System.Security.Cryptography.ProtectedData.dll
  • bin\PS5\Microsoft.Win32.Primitives.dll
  • bin\PS5\System.Diagnostics.TextWriterTraceListener.dll
  • bin\PS5\System.Memory.Data.dll
  • bin\PS5\System.Runtime.InteropServices.RuntimeInformation.dll
  • bin\PS5\System.Threading.Tasks.Extensions.dll
  • bin\PS7\Npgsql.dll
  • bin\PS7\linux-x64\System.Runtime.Caching.dll
  • bin\PS7\win-x64\System.Windows.Extensions.dll
  • bin\PS5\MySqlConnector.dll
  • bin\PS5\System.Diagnostics.Tools.dll

Version History

Version Downloads Last updated
2.1.0.96 (current version) 24,979 12/12/2024
2.0.4.75 274,732 6/15/2024
2.0.3.73 55,529 5/11/2024
2.0.2.70 107,217 3/2/2024
2.0.1.69 327 3/1/2024
2.0.0.67 25,233 2/9/2024
1.9.1 667,115 1/29/2023
1.9.0 215,670 5/28/2022
1.8.0 124,310 4/2/2021
1.7.0 4,934 2/16/2021
1.6.2 64,368 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 more