SimplySql

2.0.2.70

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
  • EnumerableToDataReader.dll
  • bin\Microsoft.IdentityModel.JsonWebTokens.dll
  • bin\System.Collections.dll
  • bin\System.Numerics.Vectors.dll
  • bin\System.Threading.Tasks.dll
  • bin\linux-x64\System.Security.Cryptography.ProtectedData.dll
  • bin\osx-x64\System.Security.Principal.Windows.dll
  • bin\win-x64\System.Text.Encoding.CodePages.dll
  • SimplySql.Cmdlets.dll
  • bin\Microsoft.IdentityModel.Logging.dll
  • bin\System.Collections.Immutable.dll
  • bin\System.Reflection.dll
  • bin\System.Threading.Tasks.Extensions.dll
  • bin\linux-x64\System.Security.Principal.Windows.dll
  • bin\osx-x64\System.Text.Encoding.CodePages.dll
  • bin\win-x86\Microsoft.Data.SqlClient.dll
  • SimplySql.Common.dll
  • bin\Microsoft.IdentityModel.Protocols.dll
  • bin\System.Configuration.ConfigurationManager.dll
  • bin\System.Reflection.Primitives.dll
  • en-US\about_SimplySql.help.txt
  • bin\linux-x64\System.Text.Encoding.CodePages.dll
  • bin\win-x64\Microsoft.Data.SqlClient.dll
  • bin\win-x86\Microsoft.Data.SqlClient.SNI.dll
  • bin\Microsoft.IdentityModel.Protocols.OpenIdConnect.dll
  • bin\System.Data.Common.dll
  • bin\System.Resources.ResourceManager.dll
  • en-US\SimplySql.Cmdlets.dll-Help.xml
  • bin\osx-x64\Microsoft.Data.SqlClient.dll
  • bin\win-x64\Microsoft.Data.SqlClient.SNI.dll
  • bin\win-x86\Microsoft.Win32.Registry.dll
  • SimplySql.psd1
  • bin\Microsoft.IdentityModel.Tokens.dll
  • bin\System.Data.DataSetExtensions.dll
  • bin\System.Runtime.CompilerServices.Unsafe.dll
  • bin\linux-x64\Microsoft.Data.SqlClient.dll
  • bin\osx-x64\Microsoft.Win32.Registry.dll
  • bin\win-x64\Microsoft.Win32.Registry.dll
  • bin\win-x86\SQLite.Interop.dll
  • bin\Azure.Core.dll
  • bin\Microsoft.SqlServer.Server.dll
  • bin\System.Diagnostics.DiagnosticSource.dll
  • bin\System.Runtime.dll
  • bin\linux-x64\Microsoft.Win32.Registry.dll
  • bin\osx-x64\SQLite.Interop.dll
  • bin\win-x64\SQLite.Interop.dll
  • bin\win-x86\System.Data.SQLite.dll
  • bin\Azure.Identity.dll
  • bin\MySqlConnector.dll
  • bin\System.Diagnostics.PerformanceCounter.dll
  • bin\System.Runtime.Loader.dll
  • bin\linux-x64\SQLite.Interop.dll
  • bin\osx-x64\System.Data.SQLite.dll
  • bin\win-x64\System.Data.SQLite.dll
  • bin\win-x86\System.IO.FileSystem.AccessControl.dll
  • bin\Microsoft.Bcl.AsyncInterfaces.dll
  • bin\NetTopologySuite.dll
  • bin\System.DirectoryServices.dll
  • bin\System.Security.Permissions.dll
  • bin\linux-x64\System.Data.SQLite.dll
  • bin\osx-x64\System.IO.FileSystem.AccessControl.dll
  • bin\win-x64\System.IO.FileSystem.AccessControl.dll
  • bin\win-x86\System.Runtime.Caching.dll
  • bin\Microsoft.Bcl.HashCode.dll
  • bin\NetTopologySuite.IO.PostGis.dll
  • bin\System.DirectoryServices.Protocols.dll
  • bin\System.Text.Encoding.dll
  • bin\linux-x64\System.IO.FileSystem.AccessControl.dll
  • bin\osx-x64\System.Private.Uri.dll
  • bin\win-x64\System.Runtime.Caching.dll
  • bin\win-x86\System.Runtime.Extensions.dll
  • bin\Microsoft.CSharp.dll
  • bin\Npgsql.dll
  • bin\System.Globalization.dll
  • bin\System.Text.Encodings.Web.dll
  • bin\linux-x64\System.Private.Uri.dll
  • bin\osx-x64\System.Runtime.Caching.dll
  • bin\win-x64\System.Runtime.Extensions.dll
  • bin\win-x86\System.Security.AccessControl.dll
  • bin\Microsoft.Extensions.DependencyInjection.Abstractions.dll
  • bin\Npgsql.NetTopologySuite.dll
  • bin\System.IdentityModel.Tokens.Jwt.dll
  • bin\System.Text.Json.dll
  • bin\linux-x64\System.Runtime.Caching.dll
  • bin\osx-x64\System.Runtime.Extensions.dll
  • bin\win-x64\System.Security.AccessControl.dll
  • bin\win-x86\System.Security.Cryptography.Cng.dll
  • bin\Microsoft.Extensions.Logging.Abstractions.dll
  • bin\Oracle.ManagedDataAccess.dll
  • bin\System.IO.dll
  • bin\System.Text.RegularExpressions.dll
  • bin\linux-x64\System.Runtime.Extensions.dll
  • bin\osx-x64\System.Security.AccessControl.dll
  • bin\win-x64\System.Security.Cryptography.Cng.dll
  • bin\win-x86\System.Security.Cryptography.ProtectedData.dll
  • bin\Microsoft.Identity.Client.dll
  • bin\SimplySql.Common.dll
  • bin\System.Management.Automation.dll
  • bin\System.Threading.Channels.dll
  • bin\linux-x64\System.Security.AccessControl.dll
  • bin\osx-x64\System.Security.Cryptography.Cng.dll
  • bin\win-x64\System.Security.Cryptography.ProtectedData.dll
  • bin\win-x86\System.Security.Principal.Windows.dll
  • bin\Microsoft.Identity.Client.Extensions.Msal.dll
  • bin\SimplySql.Engine.dll
  • bin\System.Memory.Data.dll
  • bin\System.Threading.dll
  • bin\linux-x64\System.Security.Cryptography.Cng.dll
  • bin\osx-x64\System.Security.Cryptography.ProtectedData.dll
  • bin\win-x64\System.Security.Principal.Windows.dll
  • bin\win-x86\System.Text.Encoding.CodePages.dll
  • bin\Microsoft.IdentityModel.Abstractions.dll
  • bin\System.Buffers.dll
  • bin\System.Memory.dll

Version History

Version Downloads Last updated
2.0.2.70 (current version) 60,573 3/2/2024
2.0.1.69 324 3/1/2024
2.0.0.67 25,191 2/9/2024
1.9.1 659,165 1/29/2023
1.9.0 208,382 5/28/2022
1.8.0 122,497 4/2/2021
1.7.0 4,931 2/16/2021
1.6.2 63,887 2/26/2019
1.6.1 120 2/7/2019
1.6.0 57 2/7/2019
1.5.9 212 11/27/2018
1.5.4 154 10/5/2018
1.5.2 82 9/18/2018
1.5.1 56 9/4/2018
1.4.1 247 6/11/2018
1.4.0 1,249 5/16/2018
1.3.8 50 5/11/2018
1.3.7 41 5/9/2018
1.3.6 95 3/24/2018
1.3.5 41 3/22/2018
1.3.3 60 3/19/2018
1.3.2 120 2/12/2018
1.3.1 36 2/12/2018
1.3.0 37 2/12/2018
1.2.0 92 1/8/2018
1.1.1 98 11/30/2017
Show more