bin/SnsSqlitePsModule.dll-Help.xml

<?xml version="1.0" encoding="utf-8"?>
<helpItems schema="maml" xmlns="http://msh">
  <!-- Cmdlet: New-SnsSqliteConnection -->
  <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10">
    <command:details>
      <command:name>New-SnsSqliteConnection</command:name>
      <command:verb>New</command:verb>
      <command:noun>SnsSqliteConnection</command:noun>
      <maml:description>
        <maml:para>This Cmdlet Creates And Reverts An SQLiteConnection Object.</maml:para>
      </maml:description>
    </command:details>
    <maml:description>
      <maml:para>This Cmdlet Creates And Reverts An SQLiteConnection Object.</maml:para>
      <maml:para>If The Specified DataBase Doesn't Exist, The CmdLet Throw A Warning And Creates The DataBase. In Case Was Requested Read Only Mode And The DataBase Is Created The Connection To It Wont Be In ReadOnly Mode. If Read Only Connections To Multiple DataBases Are Needed And Only One Of Those DataBases Doesn't Exist, Only That Connection Will Be In Modify Mode And The Remaining Will Be In Read Only Mode.</maml:para>
      <maml:para>By Default The CmdLet Establish The Connection To The Specified DataBase, However Using Open Parameter It Can Create The SQLiteConnection Object Without Opening Of Session.</maml:para>
      <maml:para>Normally "Invoke-SnsSqliteQuery" Creates And Opens Connections To The Required DataBases, Using The Same Logic As This CmdLet. Therefore From PowerShell Point Of View This CmdLet Is Not Required. However The "Invoke-SnsSqliteQuery" Cannot Revert The SQLiteConnection Object, Which Is Needed Whenever Performing DataBase Management And Maintenance Tasks. Here This CmdLet Comes Required. Within The Examples Section Of This Help Document Are Shown Some Of Those Management And Maintenance Tasks.</maml:para>
    </maml:description>
    <command:syntax>
      <!-- Parameter set: __AllParameterSets -->
      <command:syntaxItem>
        <maml:name>New-SnsSqliteConnection</maml:name>
        <!-- Parameter: DataBase -->
        <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named" aliases="DataBaseFile,Path,DataSource">
          <maml:name>DataBase</maml:name>
          <maml:description>
            <maml:para>Specifies SQLite DataBase File To Connect To.</maml:para>
            <maml:para>In Case DataBase Doesn't Exist The CmdLet Creates It And Generates Warning.</maml:para>
            <maml:para>Accepts Either File Name Or Full Absolute UNC Paths.</maml:para>
          </maml:description>
          <command:parameterValue required="true">string[]</command:parameterValue>
          <dev:type>
            <maml:name>System.String[]</maml:name>
            <maml:uri />
          </dev:type>
        </command:parameter>
        <!-- Parameter: Open -->
        <command:parameter required="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named">
          <maml:name>Open</maml:name>
          <maml:description>
            <maml:para>Specifies To Open The SQL Connection.</maml:para>
            <maml:para>Connection Is Opened By Default. Used To Create A Connection Without Opening It.</maml:para>
          </maml:description>
          <command:parameterValue required="true">SwitchParameter</command:parameterValue>
          <dev:type>
            <maml:name>System.Management.Automation.SwitchParameter</maml:name>
            <maml:uri />
          </dev:type>
          <dev:defaultValue>True</dev:defaultValue>
        </command:parameter>
        <!-- Parameter: Password -->
        <command:parameter required="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named">
          <maml:name>Password</maml:name>
          <maml:description>
            <maml:para>Specifies A [System.Security.SecureString] Or [System.String] Password To Use In The SQLite Connection.</maml:para>
            <maml:para>In Case The DataBase Does Not Exists, The CmdLet Creates It With Specified Password.</maml:para>
          </maml:description>
          <command:parameterValue required="true">object</command:parameterValue>
          <dev:type>
            <maml:name>System.Object</maml:name>
            <maml:uri />
          </dev:type>
          <dev:defaultValue>System.Security.SecureString</dev:defaultValue>
        </command:parameter>
        <!-- Parameter: ReadOnly -->
        <command:parameter required="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named">
          <maml:name>ReadOnly</maml:name>
          <maml:description>
            <maml:para>Specifies To Open The DataBase In ReadOnly Mode.</maml:para>
          </maml:description>
          <command:parameterValue required="true">SwitchParameter</command:parameterValue>
          <dev:type>
            <maml:name>System.Management.Automation.SwitchParameter</maml:name>
            <maml:uri />
          </dev:type>
          <dev:defaultValue>False</dev:defaultValue>
        </command:parameter>
      </command:syntaxItem>
    </command:syntax>
    <command:parameters>
      <!-- Parameter: DataBase -->
      <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named" aliases="DataBaseFile,Path,DataSource">
        <maml:name>DataBase</maml:name>
        <maml:description>
          <maml:para>Specifies SQLite DataBase File To Connect To.</maml:para>
          <maml:para>In Case DataBase Doesn't Exist The CmdLet Creates It And Generates Warning.</maml:para>
          <maml:para>Accepts Either File Name Or Full Absolute UNC Paths.</maml:para>
        </maml:description>
        <command:parameterValue required="true">string[]</command:parameterValue>
        <dev:type>
          <maml:name>System.String[]</maml:name>
          <maml:uri />
        </dev:type>
      </command:parameter>
      <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named" aliases="DataBaseFile,Path,DataSource">
        <maml:name>DataBaseFile</maml:name>
        <maml:description>
          <maml:para>Specifies SQLite DataBase File To Connect To.</maml:para>
          <maml:para>In Case DataBase Doesn't Exist The CmdLet Creates It And Generates Warning.</maml:para>
          <maml:para>Accepts Either File Name Or Full Absolute UNC Paths.</maml:para>
          <maml:para>This is an alias of the DataBase parameter.</maml:para>
        </maml:description>
        <command:parameterValue required="true">string[]</command:parameterValue>
        <dev:type>
          <maml:name>System.String[]</maml:name>
          <maml:uri />
        </dev:type>
      </command:parameter>
      <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named" aliases="DataBaseFile,Path,DataSource">
        <maml:name>Path</maml:name>
        <maml:description>
          <maml:para>Specifies SQLite DataBase File To Connect To.</maml:para>
          <maml:para>In Case DataBase Doesn't Exist The CmdLet Creates It And Generates Warning.</maml:para>
          <maml:para>Accepts Either File Name Or Full Absolute UNC Paths.</maml:para>
          <maml:para>This is an alias of the DataBase parameter.</maml:para>
        </maml:description>
        <command:parameterValue required="true">string[]</command:parameterValue>
        <dev:type>
          <maml:name>System.String[]</maml:name>
          <maml:uri />
        </dev:type>
      </command:parameter>
      <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named" aliases="DataBaseFile,Path,DataSource">
        <maml:name>DataSource</maml:name>
        <maml:description>
          <maml:para>Specifies SQLite DataBase File To Connect To.</maml:para>
          <maml:para>In Case DataBase Doesn't Exist The CmdLet Creates It And Generates Warning.</maml:para>
          <maml:para>Accepts Either File Name Or Full Absolute UNC Paths.</maml:para>
          <maml:para>This is an alias of the DataBase parameter.</maml:para>
        </maml:description>
        <command:parameterValue required="true">string[]</command:parameterValue>
        <dev:type>
          <maml:name>System.String[]</maml:name>
          <maml:uri />
        </dev:type>
      </command:parameter>
      <!-- Parameter: Password -->
      <command:parameter required="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named">
        <maml:name>Password</maml:name>
        <maml:description>
          <maml:para>Specifies A [System.Security.SecureString] Or [System.String] Password To Use In The SQLite Connection.</maml:para>
          <maml:para>In Case The DataBase Does Not Exists, The CmdLet Creates It With Specified Password.</maml:para>
        </maml:description>
        <command:parameterValue required="true">object</command:parameterValue>
        <dev:type>
          <maml:name>System.Object</maml:name>
          <maml:uri />
        </dev:type>
        <dev:defaultValue>System.Security.SecureString</dev:defaultValue>
      </command:parameter>
      <!-- Parameter: ReadOnly -->
      <command:parameter required="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named">
        <maml:name>ReadOnly</maml:name>
        <maml:description>
          <maml:para>Specifies To Open The DataBase In ReadOnly Mode.</maml:para>
        </maml:description>
        <command:parameterValue required="true">SwitchParameter</command:parameterValue>
        <dev:type>
          <maml:name>System.Management.Automation.SwitchParameter</maml:name>
          <maml:uri />
        </dev:type>
        <dev:defaultValue>False</dev:defaultValue>
      </command:parameter>
      <!-- Parameter: Open -->
      <command:parameter required="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named">
        <maml:name>Open</maml:name>
        <maml:description>
          <maml:para>Specifies To Open The SQL Connection.</maml:para>
          <maml:para>Connection Is Opened By Default. Used To Create A Connection Without Opening It.</maml:para>
        </maml:description>
        <command:parameterValue required="true">SwitchParameter</command:parameterValue>
        <dev:type>
          <maml:name>System.Management.Automation.SwitchParameter</maml:name>
          <maml:uri />
        </dev:type>
        <dev:defaultValue>True</dev:defaultValue>
      </command:parameter>
    </command:parameters>
    <command:inputTypes>
      <command:inputType>
        <dev:type>
          <maml:name>System.String[]</maml:name>
          <maml:uri />
        </dev:type>
        <maml:description>
          <maml:para>Specifies SQLite DataBase File To Connect To.</maml:para>
          <maml:para>In Case DataBase Doesn't Exist The CmdLet Creates It And Generates Warning.</maml:para>
          <maml:para>Accepts Either File Name Or Full Absolute UNC Paths.</maml:para>
        </maml:description>
      </command:inputType>
      <command:inputType>
        <dev:type>
          <maml:name>System.Object</maml:name>
          <maml:uri />
        </dev:type>
        <maml:description>
          <maml:para>Specifies A [System.Security.SecureString] Or [System.String] Password To Use In The SQLite Connection.</maml:para>
          <maml:para>In Case The DataBase Does Not Exists, The CmdLet Creates It With Specified Password.</maml:para>
        </maml:description>
      </command:inputType>
      <command:inputType>
        <dev:type>
          <maml:name>System.Management.Automation.SwitchParameter</maml:name>
          <maml:uri />
        </dev:type>
        <maml:description>
          <maml:para>Specifies To Open The DataBase In ReadOnly Mode.</maml:para>
        </maml:description>
      </command:inputType>
      <command:inputType>
        <dev:type>
          <maml:name>System.Management.Automation.SwitchParameter</maml:name>
          <maml:uri />
        </dev:type>
        <maml:description>
          <maml:para>Specifies To Open The SQL Connection.</maml:para>
          <maml:para>Connection Is Opened By Default. Used To Create A Connection Without Opening It.</maml:para>
        </maml:description>
      </command:inputType>
    </command:inputTypes>
    <command:returnValues>
      <!-- OutputType: SQLiteConnection -->
      <command:returnValue>
        <dev:type>
          <maml:name>System.Data.SQLite.SQLiteConnection</maml:name>
          <maml:uri />
        </dev:type>
      </command:returnValue>
    </command:returnValues>
    <maml:alertSet>
      <maml:title></maml:title>
      <maml:alert>
        <maml:para>AUTHOR: Svetoslav Nedyalkov Savov (svesavov@hotmail.com)</maml:para>
        <maml:para>THIS CODE IS MADE AVAILABLE AS IS, WITHOUT WARRANTY OF ANY KIND. THE ENTIRE RISK</maml:para>
        <maml:para>OF THE USE OR THE RESULTS FROM THE USE OF THIS CODE REMAINS WITH THE USER.</maml:para>
        <maml:para></maml:para>
        <maml:para></maml:para>
        <maml:para></maml:para>
      </maml:alert>
    </maml:alertSet>
    <command:examples>
      <command:example>
        <maml:title>---------- EXAMPLE 1 ----------</maml:title>
        <dev:code>[System.Data.SQLite.SQLiteConnection]$objConn = New-SnsSqliteConnection -DataBase "temp.sqlite" -Open:$false;</dev:code>
        <dev:remarks>
          <maml:para></maml:para>
          <maml:para>Creates Connection To A DataBase Located In The Working Folder Without Password And Without Opening Of The Session.</maml:para>
          <maml:para>If The DataBase File Doesn't Exist In The Current Working Folder, Creates The DataBase. Then Creates Connection To The DataBase Without Password And Without Opening Of The Session.</maml:para>
          <maml:para></maml:para>
          <maml:para></maml:para>
          <maml:para></maml:para>
          <maml:para>$objConn.SetPassword("Password");</maml:para>
          <maml:para></maml:para>
          <maml:para>Set A Password "Password" To The DataBase Connection Object.</maml:para>
          <maml:para>NOTE: To Use SetPassword Method The Connection Must Be NOT Opened.</maml:para>
          <maml:para></maml:para>
          <maml:para></maml:para>
          <maml:para></maml:para>
          <maml:para>$objConn.Open();</maml:para>
          <maml:para>$objConn.Close();</maml:para>
          <maml:para>$objConn.Dispose();</maml:para>
          <maml:para></maml:para>
          <maml:para>Commit The Changes To The DataBase File And Opens The Connection.</maml:para>
          <maml:para>The DataBase Remains Without Password Protection Until The Session Is Closed And Connection Object Disposed.</maml:para>
          <maml:para></maml:para>
          <maml:para></maml:para>
          <maml:para></maml:para>
        </dev:remarks>
      </command:example>
      <command:example>
        <maml:title>---------- EXAMPLE 2 ----------</maml:title>
        <dev:code>[System.Data.SQLite.SQLiteConnection]$objConn = New-SnsSqliteConnection -DataBase "temp.sqlite" -Password "Pass";</dev:code>
        <dev:remarks>
          <maml:para></maml:para>
          <maml:para>Creates And Opens A Connection To A DataBase Located In The Working Folder With Password "Pass".</maml:para>
          <maml:para>If The DataBase File Doesn't Exist In The Current Working Folder, Creates A Password Protected DataBase With Password "Pass". Then Creates And Opens A Connection To The DataBase Using The Password.</maml:para>
          <maml:para></maml:para>
          <maml:para></maml:para>
          <maml:para></maml:para>
          <maml:para>$objConn.ChangePassword("Password");</maml:para>
          <maml:para>$objConn.Close();</maml:para>
          <maml:para>$objConn.Dispose();</maml:para>
          <maml:para></maml:para>
          <maml:para>Change The DataBase Password To "Password", Closes The Connection And Dispose The Object.</maml:para>
          <maml:para>NOTE: To Use ChangePassword Method The Connection Must Be Opened.</maml:para>
          <maml:para></maml:para>
          <maml:para></maml:para>
          <maml:para></maml:para>
        </dev:remarks>
      </command:example>
      <command:example>
        <maml:title>---------- EXAMPLE 3 ----------</maml:title>
        <dev:code>[System.Data.SQLite.SQLiteConnection]$objConn = New-SnsSqliteConnection -DataBase "temp.sqlite" -Password "Password";</dev:code>
        <dev:remarks>
          <maml:para></maml:para>
          <maml:para>Creates And Opens A Connection To A DataBase Located In The Working Folder With Password "Password".</maml:para>
          <maml:para>If The DataBase File Doesn't Exist In The Current Working Folder, Creates A Password Protected DataBase With Password "Password". Then Creates And Opens A Connection To The DataBase Using The Password.</maml:para>
          <maml:para></maml:para>
          <maml:para></maml:para>
          <maml:para></maml:para>
          <maml:para>$objConn.ChangePassword($null);</maml:para>
          <maml:para>$objConn.Close();</maml:para>
          <maml:para>$objConn.Dispose();</maml:para>
          <maml:para></maml:para>
          <maml:para>Removes The Password Protection, Closes The Connection And Dispose The Object.</maml:para>
          <maml:para></maml:para>
          <maml:para></maml:para>
          <maml:para></maml:para>
        </dev:remarks>
      </command:example>
      <command:example>
        <maml:title>---------- EXAMPLE 4 ----------</maml:title>
        <dev:code>$objProdConn, $objBackupConn = New-SnsSqliteConnection -DataBase "temp.sqlite", "Backup.sqlite" -Passwrod "Pass" -ReadOnly;</dev:code>
        <dev:remarks>
          <maml:para></maml:para>
          <maml:para>Creates And Opens A Connection To "temp.sqlite" DataBase Located In The Working Folder With Password In ReadOnly Mode. For The Purpose Of The Example It Needs To Be Existing DataBase File With Some Data Inside.</maml:para>
          <maml:para>For The Purpose Of The Example DataBase "Backup.sqlite" Is Not Existing DataBase. In That Case DataBase "Backup.sqlite" Is Created, Password Protected, And Because It Is Now DataBase The Generated Connection Object Is In "Modify" Mode.</maml:para>
          <maml:para></maml:para>
          <maml:para></maml:para>
          <maml:para></maml:para>
          <maml:para>$objProdConn.BackupDatabase($objBackupConn, "main", "main", -1, $null, 0);</maml:para>
          <maml:para></maml:para>
          <maml:para>Backup All The Data From Production DataBase To The Backup One. This Way With Two Lines Of Code We Can Create New DataBase And Copy/Backup All The Data From An Existing To The New DataBase Along With The Password Protection.</maml:para>
          <maml:para></maml:para>
          <maml:para></maml:para>
          <maml:para></maml:para>
        </dev:remarks>
      </command:example>
    </command:examples>
    <maml:relatedLinks>
      <maml:navigationLink>
        <maml:linkText> svesavov / SnsSqlitePsModule - </maml:linkText>
        <maml:uri>https://github.com/svesavov/SnsSqlitePsModule</maml:uri>
      </maml:navigationLink>
      <maml:navigationLink>
        <maml:linkText> PowerShell Gallery - </maml:linkText>
        <maml:uri>https://www.powershellgallery.com/packages/SnsSqlitePsModule/</maml:uri>
      </maml:navigationLink>
      <maml:navigationLink>
        <maml:linkText> Svetoslav Savov on LinkedIn - </maml:linkText>
        <maml:uri>https://www.linkedin.com/in/svetoslavsavov</maml:uri>
      </maml:navigationLink>
      <maml:navigationLink>
        <maml:linkText> RamblingCookieMonster / PSSQLite - </maml:linkText>
        <maml:uri>https://github.com/RamblingCookieMonster/PSSQLite</maml:uri>
      </maml:navigationLink>
      <maml:navigationLink>
        <maml:linkText> SQLite V3 - </maml:linkText>
        <maml:uri>https://sqlite.org/index.html</maml:uri>
      </maml:navigationLink>
      <maml:navigationLink>
        <maml:linkText> SQLite V3 Data Types - </maml:linkText>
        <maml:uri>https://www.sqlite.org/datatype3.html</maml:uri>
      </maml:navigationLink>
      <maml:navigationLink>
        <maml:linkText> SQLite V3 Supported SQL Syntax - </maml:linkText>
        <maml:uri>https://www.sqlite.org/lang.html</maml:uri>
      </maml:navigationLink>
      <maml:navigationLink>
        <maml:linkText> SQLite V3 Pragma Statements - </maml:linkText>
        <maml:uri>http://www.sqlite.org/pragma.html</maml:uri>
      </maml:navigationLink>
      <maml:navigationLink>
        <maml:linkText> SQLite V3 Tutorials - </maml:linkText>
        <maml:uri>https://www.sqlitetutorial.net/</maml:uri>
      </maml:navigationLink>
      <maml:navigationLink>
        <maml:linkText> SQLite Studio - </maml:linkText>
        <maml:uri>https://github.com/pawelsalawa/sqlitestudio/releases</maml:uri>
      </maml:navigationLink>
    </maml:relatedLinks>
  </command:command>
  <!-- Cmdlet: Backup-SnsSqliteDataBase -->
  <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10">
    <command:details>
      <command:name>Backup-SnsSqliteDataBase</command:name>
      <command:verb>Backup</command:verb>
      <command:noun>SnsSqliteDataBase</command:noun>
      <maml:description>
        <maml:para>This Cmdlet Connect To A Specified SQLite DataBase Called DataBase Or Source For Short, Creates Another SQLite DataBase Called Destination Or Backup For Short, Connects To Destination DataBase And Copy The Whole Content From The Source Into The Destination DataBase.</maml:para>
      </maml:description>
    </command:details>
    <maml:description>
      <maml:para></maml:para>
      <maml:para></maml:para>
      <maml:para></maml:para>
      <maml:para>This Cmdlet Connect To A Specified SQLite DataBase Called DataBase Or Source For Short, Creates Another SQLite DataBase Called Destination Or Backup For Short, Connects To Destination DataBase And Copy The Whole Content From The Source Into The Destination DataBase.</maml:para>
      <maml:para>Since The DataBase Backup Is Relatively Simple Process Initially I Had No Intention To Create Such CmdLet At All. However It Turned Out That It Requires Handling Of Many Exceptions. So This CmdLet Was Developed To Prevent The Exceptions Handling Over And Over Again.</maml:para>
      <maml:para></maml:para>
      <maml:para></maml:para>
      <maml:para></maml:para>
      <maml:para>Before The Actual Backup The CmdLet Verifies The Source DataBase Existence And Whether Successful Writable (Not Read Only) Connection Can Be Established. Afterward The CmdLet Verifies The Backup File Existence, In Case It Exists Is Thrown Termination Error. In Case Force Switch Parameter Is Used The CmdLet Will Try To Delete The Destination DataBase File. Then New Blank Destination DataBase Is Created And It Is Verified Whether Writable Connection Can Be Established. In Case Both Connections Are Opened Successfully The CmdLet Performs Backup.</maml:para>
      <maml:para>Whenever The Destination DataBase Is Not Specified, The CmdLet Will Create The Backup DataBase In The Same Folder As The Source DataBase With Name The Same As The Source Prefixed With Digits Representing The Current UTC Date And Time.</maml:para>
      <maml:para>Whenever For Destination Is Specified A Folder, And That Folder Is Not The Folder Where The Source DataBase Is Located, The CmdLet Will Place The Backup DataBase Into The Specified Folder With Name Matching The Source DataBase Name.</maml:para>
      <maml:para>Whenever For Destination Is Specified Filename, The CmdLet Will Create The Backup DataBase With The Specified Name And Will Place It In The Current Working Folder.</maml:para>
      <maml:para>Whenever For Destination Is Specified Full Absolute File Path The Destination DataBase Will Be Created With The Specified Name In The Specified Location.</maml:para>
      <maml:para></maml:para>
      <maml:para></maml:para>
      <maml:para></maml:para>
    </maml:description>
    <command:syntax>
      <!-- Parameter set: __AllParameterSets -->
      <command:syntaxItem>
        <maml:name>Backup-SnsSqliteDataBase</maml:name>
        <!-- Parameter: DataBase -->
        <command:parameter required="true" globbing="false" pipelineInput="false" position="named" aliases="DataBaseFile,Path,DataSource">
          <maml:name>DataBase</maml:name>
          <maml:description>
            <maml:para>Specifies SQLite DataBase File To Be Backed Up.</maml:para>
            <maml:para>Accepts Either File Name Or Full Absolute UNC Path.</maml:para>
          </maml:description>
          <command:parameterValue required="true">string</command:parameterValue>
          <dev:type>
            <maml:name>System.String</maml:name>
            <maml:uri />
          </dev:type>
          <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <!-- Parameter: Destination -->
        <command:parameter required="false" globbing="false" pipelineInput="false" position="named">
          <maml:name>Destination</maml:name>
          <maml:description>
            <maml:para>Specifies The Backup File Or The Backup Folder.</maml:para>
            <maml:para>Accepts Either File Name Or Full Absolute UNC Path.</maml:para>
            <maml:para>If Not Provided The CmdLet Will Generate One Based On UTC Time And Source DataBase.</maml:para>
          </maml:description>
          <command:parameterValue required="true">string</command:parameterValue>
          <dev:type>
            <maml:name>System.String</maml:name>
            <maml:uri />
          </dev:type>
          <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <!-- Parameter: Force -->
        <command:parameter required="false" globbing="false" pipelineInput="false" position="named">
          <maml:name>Force</maml:name>
          <maml:description>
            <maml:para>Specifies To Delete The Destination File Upfront If It Already Exists.</maml:para>
          </maml:description>
          <command:parameterValue required="true">SwitchParameter</command:parameterValue>
          <dev:type>
            <maml:name>System.Management.Automation.SwitchParameter</maml:name>
            <maml:uri />
          </dev:type>
          <dev:defaultValue>False</dev:defaultValue>
        </command:parameter>
        <!-- Parameter: PassThru -->
        <command:parameter required="false" globbing="false" pipelineInput="false" position="named">
          <maml:name>PassThru</maml:name>
          <maml:description>
            <maml:para>Specifies To Revert Output.</maml:para>
            <maml:para>If Backup DataBase Size In Bytes Equals Source DataBase Will Revert The Backup FilePath.</maml:para>
            <maml:para>If Backup DataBase Size In Bytes Not Equals Source DataBase Will String "Backup Failed".</maml:para>
          </maml:description>
          <command:parameterValue required="true">SwitchParameter</command:parameterValue>
          <dev:type>
            <maml:name>System.Management.Automation.SwitchParameter</maml:name>
            <maml:uri />
          </dev:type>
          <dev:defaultValue>False</dev:defaultValue>
        </command:parameter>
        <!-- Parameter: Password -->
        <command:parameter required="false" globbing="false" pipelineInput="false" position="named">
          <maml:name>Password</maml:name>
          <maml:description>
            <maml:para>Specifies A [System.Security.SecureString] Or [System.String] Password For The Backup Source.</maml:para>
            <maml:para>The Destination DataBase Will Be Created With The Same Password.</maml:para>
          </maml:description>
          <command:parameterValue required="true">object</command:parameterValue>
          <dev:type>
            <maml:name>System.Object</maml:name>
            <maml:uri />
          </dev:type>
          <dev:defaultValue>System.Security.SecureString</dev:defaultValue>
        </command:parameter>
      </command:syntaxItem>
    </command:syntax>
    <command:parameters>
      <!-- Parameter: DataBase -->
      <command:parameter required="true" globbing="false" pipelineInput="false" position="named" aliases="DataBaseFile,Path,DataSource">
        <maml:name>DataBase</maml:name>
        <maml:description>
          <maml:para>Specifies SQLite DataBase File To Be Backed Up.</maml:para>
          <maml:para>Accepts Either File Name Or Full Absolute UNC Path.</maml:para>
        </maml:description>
        <command:parameterValue required="true">string</command:parameterValue>
        <dev:type>
          <maml:name>System.String</maml:name>
          <maml:uri />
        </dev:type>
        <dev:defaultValue></dev:defaultValue>
      </command:parameter>
      <command:parameter required="true" globbing="false" pipelineInput="false" position="named" aliases="DataBaseFile,Path,DataSource">
        <maml:name>DataBaseFile</maml:name>
        <maml:description>
          <maml:para>Specifies SQLite DataBase File To Be Backed Up.</maml:para>
          <maml:para>Accepts Either File Name Or Full Absolute UNC Path.</maml:para>
          <maml:para>This is an alias of the DataBase parameter.</maml:para>
        </maml:description>
        <command:parameterValue required="true">string</command:parameterValue>
        <dev:type>
          <maml:name>System.String</maml:name>
          <maml:uri />
        </dev:type>
        <dev:defaultValue></dev:defaultValue>
      </command:parameter>
      <command:parameter required="true" globbing="false" pipelineInput="false" position="named" aliases="DataBaseFile,Path,DataSource">
        <maml:name>Path</maml:name>
        <maml:description>
          <maml:para>Specifies SQLite DataBase File To Be Backed Up.</maml:para>
          <maml:para>Accepts Either File Name Or Full Absolute UNC Path.</maml:para>
          <maml:para>This is an alias of the DataBase parameter.</maml:para>
        </maml:description>
        <command:parameterValue required="true">string</command:parameterValue>
        <dev:type>
          <maml:name>System.String</maml:name>
          <maml:uri />
        </dev:type>
        <dev:defaultValue></dev:defaultValue>
      </command:parameter>
      <command:parameter required="true" globbing="false" pipelineInput="false" position="named" aliases="DataBaseFile,Path,DataSource">
        <maml:name>DataSource</maml:name>
        <maml:description>
          <maml:para>Specifies SQLite DataBase File To Be Backed Up.</maml:para>
          <maml:para>Accepts Either File Name Or Full Absolute UNC Path.</maml:para>
          <maml:para>This is an alias of the DataBase parameter.</maml:para>
        </maml:description>
        <command:parameterValue required="true">string</command:parameterValue>
        <dev:type>
          <maml:name>System.String</maml:name>
          <maml:uri />
        </dev:type>
        <dev:defaultValue></dev:defaultValue>
      </command:parameter>
      <!-- Parameter: Destination -->
      <command:parameter required="false" globbing="false" pipelineInput="false" position="named">
        <maml:name>Destination</maml:name>
        <maml:description>
          <maml:para>Specifies The Backup File Or The Backup Folder.</maml:para>
          <maml:para>Accepts Either File Name Or Full Absolute UNC Path.</maml:para>
          <maml:para>If Not Provided The CmdLet Will Generate One Based On UTC Time And Source DataBase.</maml:para>
        </maml:description>
        <command:parameterValue required="true">string</command:parameterValue>
        <dev:type>
          <maml:name>System.String</maml:name>
          <maml:uri />
        </dev:type>
        <dev:defaultValue></dev:defaultValue>
      </command:parameter>
      <!-- Parameter: Password -->
      <command:parameter required="false" globbing="false" pipelineInput="false" position="named">
        <maml:name>Password</maml:name>
        <maml:description>
          <maml:para>Specifies A [System.Security.SecureString] Or [System.String] Password For The Backup Source.</maml:para>
          <maml:para>The Destination DataBase Will Be Created With The Same Password.</maml:para>
        </maml:description>
        <command:parameterValue required="true">object</command:parameterValue>
        <dev:type>
          <maml:name>System.Object</maml:name>
          <maml:uri />
        </dev:type>
        <dev:defaultValue>System.Security.SecureString</dev:defaultValue>
      </command:parameter>
      <!-- Parameter: Force -->
      <command:parameter required="false" globbing="false" pipelineInput="false" position="named">
        <maml:name>Force</maml:name>
        <maml:description>
          <maml:para>Specifies To Delete The Destination File Upfront If It Already Exists.</maml:para>
        </maml:description>
        <command:parameterValue required="true">SwitchParameter</command:parameterValue>
        <dev:type>
          <maml:name>System.Management.Automation.SwitchParameter</maml:name>
          <maml:uri />
        </dev:type>
        <dev:defaultValue>False</dev:defaultValue>
      </command:parameter>
      <!-- Parameter: PassThru -->
      <command:parameter required="false" globbing="false" pipelineInput="false" position="named">
        <maml:name>PassThru</maml:name>
        <maml:description>
          <maml:para>Specifies To Revert Output.</maml:para>
          <maml:para>If Backup DataBase Size In Bytes Equals Source DataBase Will Revert The Backup FilePath.</maml:para>
          <maml:para>If Backup DataBase Size In Bytes Not Equals Source DataBase Will String "Backup Failed".</maml:para>
        </maml:description>
        <command:parameterValue required="true">SwitchParameter</command:parameterValue>
        <dev:type>
          <maml:name>System.Management.Automation.SwitchParameter</maml:name>
          <maml:uri />
        </dev:type>
        <dev:defaultValue>False</dev:defaultValue>
      </command:parameter>
    </command:parameters>
    <command:inputTypes />
    <command:returnValues>
      <!-- OutputType: String -->
      <command:returnValue>
        <dev:type>
          <maml:name>System.String</maml:name>
          <maml:uri />
        </dev:type>
      </command:returnValue>
    </command:returnValues>
    <maml:alertSet>
      <maml:title></maml:title>
      <maml:alert>
        <maml:para>AUTHOR: Svetoslav Nedyalkov Savov (svesavov@hotmail.com)</maml:para>
        <maml:para>THIS CODE IS MADE AVAILABLE AS IS, WITHOUT WARRANTY OF ANY KIND. THE ENTIRE RISK</maml:para>
        <maml:para>OF THE USE OR THE RESULTS FROM THE USE OF THIS CODE REMAINS WITH THE USER.</maml:para>
        <maml:para></maml:para>
        <maml:para></maml:para>
        <maml:para></maml:para>
      </maml:alert>
    </maml:alertSet>
    <command:examples>
      <command:example>
        <maml:title>---------- EXAMPLE 1 ----------</maml:title>
        <dev:code>Backup-SnsSqliteDataBase -DataBase "temp.db";</dev:code>
        <dev:remarks>
          <maml:para></maml:para>
          <maml:para>Backup DataBase "temp.db" Into A New DataBase Located In The Current Folder With The Same Name Prefixed With Digits Representing Current UTC Date And Time.</maml:para>
          <maml:para></maml:para>
          <maml:para></maml:para>
          <maml:para></maml:para>
        </dev:remarks>
      </command:example>
      <command:example>
        <maml:title>---------- EXAMPLE 2 ----------</maml:title>
        <dev:code>Backup-SnsSqliteDataBase -DataBase "temp.db" -Destination "C:\Backups";</dev:code>
        <dev:remarks>
          <maml:para></maml:para>
          <maml:para>Backup DataBase "temp.db" Into "C:\Backup\temp.db".</maml:para>
          <maml:para></maml:para>
          <maml:para></maml:para>
          <maml:para></maml:para>
        </dev:remarks>
      </command:example>
      <command:example>
        <maml:title>---------- EXAMPLE 3 ----------</maml:title>
        <dev:code>Backup-SnsSqliteDataBase -DataBase "temp.db" -Destination "backup.db";</dev:code>
        <dev:remarks>
          <maml:para></maml:para>
          <maml:para>Backup DataBase "temp.db" Into "backup.db" Both Located In The Current Working Folder.</maml:para>
          <maml:para></maml:para>
          <maml:para></maml:para>
          <maml:para></maml:para>
        </dev:remarks>
      </command:example>
      <command:example>
        <maml:title>---------- EXAMPLE 4 ----------</maml:title>
        <dev:code>Backup-SnsSqliteDataBase -DataBase "temp.db" -Destination "C:\Backups\backup.db";</dev:code>
        <dev:remarks>
          <maml:para></maml:para>
          <maml:para>Backup DataBase "temp.db" Into "C:\Backups\backup.db".</maml:para>
          <maml:para></maml:para>
          <maml:para></maml:para>
          <maml:para></maml:para>
        </dev:remarks>
      </command:example>
    </command:examples>
    <maml:relatedLinks>
      <maml:navigationLink>
        <maml:linkText> svesavov / SnsSqlitePsModule - </maml:linkText>
        <maml:uri>https://github.com/svesavov/SnsSqlitePsModule</maml:uri>
      </maml:navigationLink>
      <maml:navigationLink>
        <maml:linkText> PowerShell Gallery - </maml:linkText>
        <maml:uri>https://www.powershellgallery.com/packages/SnsSqlitePsModule/</maml:uri>
      </maml:navigationLink>
      <maml:navigationLink>
        <maml:linkText> Svetoslav Savov on LinkedIn - </maml:linkText>
        <maml:uri>https://www.linkedin.com/in/svetoslavsavov</maml:uri>
      </maml:navigationLink>
      <maml:navigationLink>
        <maml:linkText> RamblingCookieMonster / PSSQLite - </maml:linkText>
        <maml:uri>https://github.com/RamblingCookieMonster/PSSQLite</maml:uri>
      </maml:navigationLink>
      <maml:navigationLink>
        <maml:linkText> SQLite V3 - </maml:linkText>
        <maml:uri>https://sqlite.org/index.html</maml:uri>
      </maml:navigationLink>
      <maml:navigationLink>
        <maml:linkText> SQLite V3 Data Types - </maml:linkText>
        <maml:uri>https://www.sqlite.org/datatype3.html</maml:uri>
      </maml:navigationLink>
      <maml:navigationLink>
        <maml:linkText> SQLite V3 Supported SQL Syntax - </maml:linkText>
        <maml:uri>https://www.sqlite.org/lang.html</maml:uri>
      </maml:navigationLink>
      <maml:navigationLink>
        <maml:linkText> SQLite V3 Pragma Statements - </maml:linkText>
        <maml:uri>http://www.sqlite.org/pragma.html</maml:uri>
      </maml:navigationLink>
      <maml:navigationLink>
        <maml:linkText> SQLite V3 Tutorials - </maml:linkText>
        <maml:uri>https://www.sqlitetutorial.net/</maml:uri>
      </maml:navigationLink>
      <maml:navigationLink>
        <maml:linkText> SQLite Studio - </maml:linkText>
        <maml:uri>https://github.com/pawelsalawa/sqlitestudio/releases</maml:uri>
      </maml:navigationLink>
    </maml:relatedLinks>
  </command:command>
  <!-- Cmdlet: Invoke-SnsSqliteObjectInsert -->
  <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10">
    <command:details>
      <command:name>Invoke-SnsSqliteObjectInsert</command:name>
      <command:verb>Invoke</command:verb>
      <command:noun>SnsSqliteObjectInsert</command:noun>
      <maml:description>
        <maml:para>This Cmdlet Imports Collection Of Object Into Specified Table Within Specified SQLite DataBase.</maml:para>
      </maml:description>
    </command:details>
    <maml:description>
      <maml:para></maml:para>
      <maml:para></maml:para>
      <maml:para></maml:para>
      <maml:para>This Cmdlet Imports Collection Of Object Into Specified Table Within Specified SQLite DataBase.</maml:para>
      <maml:para></maml:para>
      <maml:para></maml:para>
      <maml:para></maml:para>
      <maml:para>The CmdLet Have Two ParameterSets Which Represent The Allowed Combination Of Input Parameters.</maml:para>
      <maml:para>Those ParametersSets Allows Either DataBase File To Be Specified With Parameters Used To Establish A Connection To It, Or To Be Specified SQLiteConnection Object For Existing Connection. As Long As The CmdLet Performs SQL INSERT Queries It Is Not Allowed The SQLConnection To Be Established In ReadOnly Mode.</maml:para>
      <maml:para>The Specified Input Is Verified Either At The Parameters Section Or Within The Begin Method. Some Of The Input Is Verified Several Times With Various Verifications, As For Example The Table Name Is Verified Once Whether It Contains Non Alphanumeric Characters And Second Time Whether It Exists Inside The Specified DataBase. The CmdLet Can Handle INSERT Queries Only In Existing Data Sources With Existing Tables, Unlike The Rest Of The CmdLets Within This PowerShell Module Which Normally Would Create The Missing Components.</maml:para>
      <maml:para>The CmdLet Establishes SQL Connection At The Beginning Method And Query The DataBase About For A List Of Existing Tables And In Case The Table Exists It Query The DataBase Second Time About Tables Schema. The Retrieved Table Schema Is Used For The SQL Query Generation And The SQL Parameter Names Which Will Be Used Further During The Insert.</maml:para>
      <maml:para>Because There Are Lot Faster Built Into SQLite Ways For Bulk Insert Data Within A Table, This CmdLet Most Likely Will Be Used In Automations. Whenever Data Is Provided From Applications Or Products Without API's For Puling Data, On A .csv Files. In That Scenario The Data Will Be Provided On Regular Basis And Have To Be Inserted Automatically. In Such Scenarios Is Inappropriate DataBase File And Tables Creation. Therefore It Is Better The CmdLet To Throw Terminating Error And Stop Processing Instead To Create A Mess.</maml:para>
      <maml:para>Whenever Initial Data INSERT Is Required I Recommend The Manual Approach Using The Official SQLite Tools CLI https://www.sqlite.org/download.html Or SQLite Studio https://github.com/pawelsalawa/sqlitestudio/releases. Manual Approach Here Allows Greater Visibility. At The End Initial Data INSERT Is Performed Only Once, For One Time Actions Using Graphical Interface Is Always Better.</maml:para>
      <maml:para>The CmdLet Converts Each Of The Provided InputObjects To SQL Parameters Using The SQL Query And Its Variables Generated From The Table Columns. From Here Is Coming A Requirement That The InputObject Must Have PropertyNames Matching The Table Column Names. In Case Some Of The Columns In The Table Is Not Present In The InputObject Properties The CmdLet Will Insert NULL In Those Columns, Which Might Lead To Constraint Errors Whenever The Column Is Not Nullable. Additionally The Object Properties Which Are Not Present As Table Columns Are Disregarded.</maml:para>
      <maml:para></maml:para>
      <maml:para></maml:para>
      <maml:para></maml:para>
      <maml:para>To Simplify The Dates Handling The Module Offers Predefined Formatting Strings To Convert DateTime Object To Understandable For SQLite Format. Although The CmdLet Will Handle SQL Parameters Without Being Converted To Strings, Before To Be Specified To CmdLet.</maml:para>
      <maml:para>Due To The Fact That SQLite Engine Converts Internally The Dates To UTC, Leaving The DateTime Objects To Be Automatically Handled Might Lead To Some Weird Results. If You Leave In Country With Daylight Saving Please Make Sure The DateTime Objects Are Converted Properly To UTC And Afterward Converted To String Which Specify To SQLite That The String Representation Of The Date Is In UTC.</maml:para>
      <maml:para>Whenever A DateTime Is Specified Within SQL Parameter HashTable Value, The CmdLet Will Convert It To SQLite Understandable String Transparently. During The Process The DateTime Object Is Handled As Follows:</maml:para>
      <maml:para>- If The Provided DateTime Object Have Kind UTC, The Object Is Converted To A String Recognizable By SQLite As UTC Time.</maml:para>
      <maml:para>- If The Provided DateTime Object Have Kind Local, The Object Is Converted To UTC Time Zone Using The .NET Conversion Method Based On The Regional Settings Of The Computer Where The CmdLet Is Run. Then Convert The UTC DateTime Object To A String Recognizable By SQLite As UTC Time.</maml:para>
      <maml:para>- If The Provided DateTime Object Have Kind Unspecified, The Object Is Converted To A String Recognizable By SQLite As Local Time Zone Leaving The DataBase To Handle The Conversion To UTC Time Zone By Itself.</maml:para>
      <maml:para>In Fact When SQL Select Query Is Used SQLite Provides The Dates In Local Time Zone And Generated DateTime Objects Have Kind Unspecified. This Does Allow The Output From One SQL Query To Be Used As Input To Another SQL Query.</maml:para>
      <maml:para></maml:para>
      <maml:para></maml:para>
      <maml:para></maml:para>
    </maml:description>
    <command:syntax>
      <!-- Parameter set: Db -->
      <command:syntaxItem>
        <maml:name>Invoke-SnsSqliteObjectInsert</maml:name>
        <!-- Parameter: DataBase -->
        <command:parameter required="true" globbing="false" pipelineInput="false" position="named" aliases="DataBaseFile,Path,DataSource">
          <maml:name>DataBase</maml:name>
          <maml:description>
            <maml:para>Specifies SQLite DataBase File To Connect To.</maml:para>
            <maml:para>The DataBase Must Exists, The CmdLet Won't Create It.</maml:para>
            <maml:para>Accepts Either File Name Or Full Absolute UNC Paths.</maml:para>
          </maml:description>
          <command:parameterValue required="true">string</command:parameterValue>
          <dev:type>
            <maml:name>System.String</maml:name>
            <maml:uri />
          </dev:type>
          <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <!-- Parameter: InputObject -->
        <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="named">
          <maml:name>InputObject</maml:name>
          <maml:description>
            <maml:para>Specifies A Collection Of Input Objects To Be Inserted Into The DataBase Table.</maml:para>
            <maml:para>Input Object Properties Must Be Struct Or String.</maml:para>
            <maml:para>Input Object Properties Must Not Be Collections Or Other Objects.</maml:para>
          </maml:description>
          <command:parameterValue required="true">PSObject[]</command:parameterValue>
          <dev:type>
            <maml:name>System.Management.Automation.PSObject[]</maml:name>
            <maml:uri />
          </dev:type>
        </command:parameter>
        <!-- Parameter: Table -->
        <command:parameter required="true" globbing="false" pipelineInput="false" position="named" aliases="DataBaseTable">
          <maml:name>Table</maml:name>
          <maml:description>
            <maml:para>Specifies A Table Where The Data Will Be Inserted.</maml:para>
            <maml:para>The Table Must Exist Inside The Specified DataBase, The CmdLet Won't Create It.</maml:para>
            <maml:para>Allowed Characters In The Table Name Are: From a To z, From A To Z And _</maml:para>
          </maml:description>
          <command:parameterValue required="true">string</command:parameterValue>
          <dev:type>
            <maml:name>System.String</maml:name>
            <maml:uri />
          </dev:type>
          <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <!-- Parameter: ConflictClause -->
        <command:parameter required="false" globbing="false" pipelineInput="false" position="named">
          <maml:name>ConflictClause</maml:name>
          <maml:description>
            <maml:para>Specifies A Conflict Clause To Use In Case A Conflict Occurs During Insert.</maml:para>
            <maml:para>See https://www.sqlite.org/lang_conflict.html for more details.</maml:para>
            <maml:para>Accepted Values: "Rollback", "Abort", "Fail", "Ignore" And "Replace"</maml:para>
          </maml:description>
          <command:parameterValue required="true">string</command:parameterValue>
          <dev:type>
            <maml:name>System.String</maml:name>
            <maml:uri />
          </dev:type>
          <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <!-- Parameter: Password -->
        <command:parameter required="false" globbing="false" pipelineInput="false" position="named">
          <maml:name>Password</maml:name>
          <maml:description>
            <maml:para>Specifies A [System.Security.SecureString] Or [System.String] Password To Use In The SQLite Connection.</maml:para>
          </maml:description>
          <command:parameterValue required="true">object</command:parameterValue>
          <dev:type>
            <maml:name>System.Object</maml:name>
            <maml:uri />
          </dev:type>
        </command:parameter>
        <!-- Parameter: QueryTimeout -->
        <command:parameter required="false" globbing="false" pipelineInput="false" position="named" aliases="TimeOut">
          <maml:name>QueryTimeout</maml:name>
          <maml:description>
            <maml:para>Specifies The Number Of Seconds Before The Query Times Out.</maml:para>
          </maml:description>
          <command:parameterValue required="true">int</command:parameterValue>
          <dev:type>
            <maml:name>System.Int32</maml:name>
            <maml:uri />
          </dev:type>
          <dev:defaultValue>600</dev:defaultValue>
        </command:parameter>
        <!-- Parameter: SkipPrimaryKey -->
        <command:parameter required="false" globbing="false" pipelineInput="false" position="named">
          <maml:name>SkipPrimaryKey</maml:name>
          <maml:description>
            <maml:para>Specifies To Not Insert Value Into Primary Key Column.</maml:para>
            <maml:para>Use It Whenever The Primary Key Value Is AutoGenerated.</maml:para>
          </maml:description>
          <command:parameterValue required="true">SwitchParameter</command:parameterValue>
          <dev:type>
            <maml:name>System.Management.Automation.SwitchParameter</maml:name>
            <maml:uri />
          </dev:type>
          <dev:defaultValue>False</dev:defaultValue>
        </command:parameter>
      </command:syntaxItem>
      <!-- Parameter set: Conn -->
      <command:syntaxItem>
        <maml:name>Invoke-SnsSqliteObjectInsert</maml:name>
        <!-- Parameter: Connection -->
        <command:parameter required="true" globbing="false" pipelineInput="false" position="named" aliases="SQLiteConnection">
          <maml:name>Connection</maml:name>
          <maml:description>
            <maml:para>Specifies Existing SQLite Connection.</maml:para>
            <maml:para>In Case The Connection Is Not Open Or Expired The CmdLet Opens It.</maml:para>
          </maml:description>
          <command:parameterValue required="true">SQLiteConnection</command:parameterValue>
          <dev:type>
            <maml:name>System.Data.SQLite.SQLiteConnection</maml:name>
            <maml:uri />
          </dev:type>
        </command:parameter>
        <!-- Parameter: InputObject -->
        <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="named">
          <maml:name>InputObject</maml:name>
          <maml:description>
            <maml:para>Specifies A Collection Of Input Objects To Be Inserted Into The DataBase Table.</maml:para>
            <maml:para>Input Object Properties Must Be Struct Or String.</maml:para>
            <maml:para>Input Object Properties Must Not Be Collections Or Other Objects.</maml:para>
          </maml:description>
          <command:parameterValue required="true">PSObject[]</command:parameterValue>
          <dev:type>
            <maml:name>System.Management.Automation.PSObject[]</maml:name>
            <maml:uri />
          </dev:type>
        </command:parameter>
        <!-- Parameter: Table -->
        <command:parameter required="true" globbing="false" pipelineInput="false" position="named" aliases="DataBaseTable">
          <maml:name>Table</maml:name>
          <maml:description>
            <maml:para>Specifies A Table Where The Data Will Be Inserted.</maml:para>
            <maml:para>The Table Must Exist Inside The Specified DataBase, The CmdLet Won't Create It.</maml:para>
            <maml:para>Allowed Characters In The Table Name Are: From a To z, From A To Z And _</maml:para>
          </maml:description>
          <command:parameterValue required="true">string</command:parameterValue>
          <dev:type>
            <maml:name>System.String</maml:name>
            <maml:uri />
          </dev:type>
          <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <!-- Parameter: ConflictClause -->
        <command:parameter required="false" globbing="false" pipelineInput="false" position="named">
          <maml:name>ConflictClause</maml:name>
          <maml:description>
            <maml:para>Specifies A Conflict Clause To Use In Case A Conflict Occurs During Insert.</maml:para>
            <maml:para>See https://www.sqlite.org/lang_conflict.html for more details.</maml:para>
            <maml:para>Accepted Values: "Rollback", "Abort", "Fail", "Ignore" And "Replace"</maml:para>
          </maml:description>
          <command:parameterValue required="true">string</command:parameterValue>
          <dev:type>
            <maml:name>System.String</maml:name>
            <maml:uri />
          </dev:type>
          <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <!-- Parameter: QueryTimeout -->
        <command:parameter required="false" globbing="false" pipelineInput="false" position="named" aliases="TimeOut">
          <maml:name>QueryTimeout</maml:name>
          <maml:description>
            <maml:para>Specifies The Number Of Seconds Before The Query Times Out.</maml:para>
          </maml:description>
          <command:parameterValue required="true">int</command:parameterValue>
          <dev:type>
            <maml:name>System.Int32</maml:name>
            <maml:uri />
          </dev:type>
          <dev:defaultValue>600</dev:defaultValue>
        </command:parameter>
        <!-- Parameter: SkipPrimaryKey -->
        <command:parameter required="false" globbing="false" pipelineInput="false" position="named">
          <maml:name>SkipPrimaryKey</maml:name>
          <maml:description>
            <maml:para>Specifies To Not Insert Value Into Primary Key Column.</maml:para>
            <maml:para>Use It Whenever The Primary Key Value Is AutoGenerated.</maml:para>
          </maml:description>
          <command:parameterValue required="true">SwitchParameter</command:parameterValue>
          <dev:type>
            <maml:name>System.Management.Automation.SwitchParameter</maml:name>
            <maml:uri />
          </dev:type>
          <dev:defaultValue>False</dev:defaultValue>
        </command:parameter>
      </command:syntaxItem>
    </command:syntax>
    <command:parameters>
      <!-- Parameter: DataBase -->
      <command:parameter required="true" globbing="false" pipelineInput="false" position="named" aliases="DataBaseFile,Path,DataSource">
        <maml:name>DataBase</maml:name>
        <maml:description>
          <maml:para>Specifies SQLite DataBase File To Connect To.</maml:para>
          <maml:para>The DataBase Must Exists, The CmdLet Won't Create It.</maml:para>
          <maml:para>Accepts Either File Name Or Full Absolute UNC Paths.</maml:para>
        </maml:description>
        <command:parameterValue required="true">string</command:parameterValue>
        <dev:type>
          <maml:name>System.String</maml:name>
          <maml:uri />
        </dev:type>
        <dev:defaultValue></dev:defaultValue>
      </command:parameter>
      <command:parameter required="true" globbing="false" pipelineInput="false" position="named" aliases="DataBaseFile,Path,DataSource">
        <maml:name>DataBaseFile</maml:name>
        <maml:description>
          <maml:para>Specifies SQLite DataBase File To Connect To.</maml:para>
          <maml:para>The DataBase Must Exists, The CmdLet Won't Create It.</maml:para>
          <maml:para>Accepts Either File Name Or Full Absolute UNC Paths.</maml:para>
          <maml:para>This is an alias of the DataBase parameter.</maml:para>
        </maml:description>
        <command:parameterValue required="true">string</command:parameterValue>
        <dev:type>
          <maml:name>System.String</maml:name>
          <maml:uri />
        </dev:type>
        <dev:defaultValue></dev:defaultValue>
      </command:parameter>
      <command:parameter required="true" globbing="false" pipelineInput="false" position="named" aliases="DataBaseFile,Path,DataSource">
        <maml:name>Path</maml:name>
        <maml:description>
          <maml:para>Specifies SQLite DataBase File To Connect To.</maml:para>
          <maml:para>The DataBase Must Exists, The CmdLet Won't Create It.</maml:para>
          <maml:para>Accepts Either File Name Or Full Absolute UNC Paths.</maml:para>
          <maml:para>This is an alias of the DataBase parameter.</maml:para>
        </maml:description>
        <command:parameterValue required="true">string</command:parameterValue>
        <dev:type>
          <maml:name>System.String</maml:name>
          <maml:uri />
        </dev:type>
        <dev:defaultValue></dev:defaultValue>
      </command:parameter>
      <command:parameter required="true" globbing="false" pipelineInput="false" position="named" aliases="DataBaseFile,Path,DataSource">
        <maml:name>DataSource</maml:name>
        <maml:description>
          <maml:para>Specifies SQLite DataBase File To Connect To.</maml:para>
          <maml:para>The DataBase Must Exists, The CmdLet Won't Create It.</maml:para>
          <maml:para>Accepts Either File Name Or Full Absolute UNC Paths.</maml:para>
          <maml:para>This is an alias of the DataBase parameter.</maml:para>
        </maml:description>
        <command:parameterValue required="true">string</command:parameterValue>
        <dev:type>
          <maml:name>System.String</maml:name>
          <maml:uri />
        </dev:type>
        <dev:defaultValue></dev:defaultValue>
      </command:parameter>
      <!-- Parameter: Password -->
      <command:parameter required="false" globbing="false" pipelineInput="false" position="named">
        <maml:name>Password</maml:name>
        <maml:description>
          <maml:para>Specifies A [System.Security.SecureString] Or [System.String] Password To Use In The SQLite Connection.</maml:para>
        </maml:description>
        <command:parameterValue required="true">object</command:parameterValue>
        <dev:type>
          <maml:name>System.Object</maml:name>
          <maml:uri />
        </dev:type>
      </command:parameter>
      <!-- Parameter: Connection -->
      <command:parameter required="true" globbing="false" pipelineInput="false" position="named" aliases="SQLiteConnection">
        <maml:name>Connection</maml:name>
        <maml:description>
          <maml:para>Specifies Existing SQLite Connection.</maml:para>
          <maml:para>In Case The Connection Is Not Open Or Expired The CmdLet Opens It.</maml:para>
        </maml:description>
        <command:parameterValue required="true">SQLiteConnection</command:parameterValue>
        <dev:type>
          <maml:name>System.Data.SQLite.SQLiteConnection</maml:name>
          <maml:uri />
        </dev:type>
      </command:parameter>
      <command:parameter required="true" globbing="false" pipelineInput="false" position="named" aliases="SQLiteConnection">
        <maml:name>SQLiteConnection</maml:name>
        <maml:description>
          <maml:para>Specifies Existing SQLite Connection.</maml:para>
          <maml:para>In Case The Connection Is Not Open Or Expired The CmdLet Opens It.</maml:para>
          <maml:para>This is an alias of the Connection parameter.</maml:para>
        </maml:description>
        <command:parameterValue required="true">SQLiteConnection</command:parameterValue>
        <dev:type>
          <maml:name>System.Data.SQLite.SQLiteConnection</maml:name>
          <maml:uri />
        </dev:type>
      </command:parameter>
      <!-- Parameter: Table -->
      <command:parameter required="true" globbing="false" pipelineInput="false" position="named" aliases="DataBaseTable">
        <maml:name>Table</maml:name>
        <maml:description>
          <maml:para>Specifies A Table Where The Data Will Be Inserted.</maml:para>
          <maml:para>The Table Must Exist Inside The Specified DataBase, The CmdLet Won't Create It.</maml:para>
          <maml:para>Allowed Characters In The Table Name Are: From a To z, From A To Z And _</maml:para>
        </maml:description>
        <command:parameterValue required="true">string</command:parameterValue>
        <dev:type>
          <maml:name>System.String</maml:name>
          <maml:uri />
        </dev:type>
        <dev:defaultValue></dev:defaultValue>
      </command:parameter>
      <command:parameter required="true" globbing="false" pipelineInput="false" position="named" aliases="DataBaseTable">
        <maml:name>DataBaseTable</maml:name>
        <maml:description>
          <maml:para>Specifies A Table Where The Data Will Be Inserted.</maml:para>
          <maml:para>The Table Must Exist Inside The Specified DataBase, The CmdLet Won't Create It.</maml:para>
          <maml:para>Allowed Characters In The Table Name Are: From a To z, From A To Z And _</maml:para>
          <maml:para>This is an alias of the Table parameter.</maml:para>
        </maml:description>
        <command:parameterValue required="true">string</command:parameterValue>
        <dev:type>
          <maml:name>System.String</maml:name>
          <maml:uri />
        </dev:type>
        <dev:defaultValue></dev:defaultValue>
      </command:parameter>
      <!-- Parameter: InputObject -->
      <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="named">
        <maml:name>InputObject</maml:name>
        <maml:description>
          <maml:para>Specifies A Collection Of Input Objects To Be Inserted Into The DataBase Table.</maml:para>
          <maml:para>Input Object Properties Must Be Struct Or String.</maml:para>
          <maml:para>Input Object Properties Must Not Be Collections Or Other Objects.</maml:para>
        </maml:description>
        <command:parameterValue required="true">PSObject[]</command:parameterValue>
        <dev:type>
          <maml:name>System.Management.Automation.PSObject[]</maml:name>
          <maml:uri />
        </dev:type>
      </command:parameter>
      <!-- Parameter: ConflictClause -->
      <command:parameter required="false" globbing="false" pipelineInput="false" position="named">
        <maml:name>ConflictClause</maml:name>
        <maml:description>
          <maml:para>Specifies A Conflict Clause To Use In Case A Conflict Occurs During Insert.</maml:para>
          <maml:para>See https://www.sqlite.org/lang_conflict.html for more details.</maml:para>
          <maml:para>Accepted Values: "Rollback", "Abort", "Fail", "Ignore" And "Replace"</maml:para>
        </maml:description>
        <command:parameterValue required="true">string</command:parameterValue>
        <dev:type>
          <maml:name>System.String</maml:name>
          <maml:uri />
        </dev:type>
        <dev:defaultValue></dev:defaultValue>
      </command:parameter>
      <!-- Parameter: QueryTimeout -->
      <command:parameter required="false" globbing="false" pipelineInput="false" position="named" aliases="TimeOut">
        <maml:name>QueryTimeout</maml:name>
        <maml:description>
          <maml:para>Specifies The Number Of Seconds Before The Query Times Out.</maml:para>
        </maml:description>
        <command:parameterValue required="true">int</command:parameterValue>
        <dev:type>
          <maml:name>System.Int32</maml:name>
          <maml:uri />
        </dev:type>
        <dev:defaultValue>600</dev:defaultValue>
      </command:parameter>
      <command:parameter required="false" globbing="false" pipelineInput="false" position="named" aliases="TimeOut">
        <maml:name>TimeOut</maml:name>
        <maml:description>
          <maml:para>Specifies The Number Of Seconds Before The Query Times Out.</maml:para>
          <maml:para>This is an alias of the QueryTimeout parameter.</maml:para>
        </maml:description>
        <command:parameterValue required="true">int</command:parameterValue>
        <dev:type>
          <maml:name>System.Int32</maml:name>
          <maml:uri />
        </dev:type>
        <dev:defaultValue>600</dev:defaultValue>
      </command:parameter>
      <!-- Parameter: SkipPrimaryKey -->
      <command:parameter required="false" globbing="false" pipelineInput="false" position="named">
        <maml:name>SkipPrimaryKey</maml:name>
        <maml:description>
          <maml:para>Specifies To Not Insert Value Into Primary Key Column.</maml:para>
          <maml:para>Use It Whenever The Primary Key Value Is AutoGenerated.</maml:para>
        </maml:description>
        <command:parameterValue required="true">SwitchParameter</command:parameterValue>
        <dev:type>
          <maml:name>System.Management.Automation.SwitchParameter</maml:name>
          <maml:uri />
        </dev:type>
        <dev:defaultValue>False</dev:defaultValue>
      </command:parameter>
    </command:parameters>
    <command:inputTypes>
      <command:inputType>
        <dev:type>
          <maml:name>System.Management.Automation.PSObject[]</maml:name>
          <maml:uri />
        </dev:type>
        <maml:description>
          <maml:para>Specifies A Collection Of Input Objects To Be Inserted Into The DataBase Table.</maml:para>
          <maml:para>Input Object Properties Must Be Struct Or String.</maml:para>
          <maml:para>Input Object Properties Must Not Be Collections Or Other Objects.</maml:para>
        </maml:description>
      </command:inputType>
    </command:inputTypes>
    <command:returnValues />
    <maml:alertSet>
      <maml:title></maml:title>
      <maml:alert>
        <maml:para>AUTHOR: Svetoslav Nedyalkov Savov (svesavov@hotmail.com)</maml:para>
        <maml:para>THIS CODE IS MADE AVAILABLE AS IS, WITHOUT WARRANTY OF ANY KIND. THE ENTIRE RISK</maml:para>
        <maml:para>OF THE USE OR THE RESULTS FROM THE USE OF THIS CODE REMAINS WITH THE USER.</maml:para>
        <maml:para></maml:para>
        <maml:para></maml:para>
        <maml:para></maml:para>
      </maml:alert>
    </maml:alertSet>
    <command:examples>
      <command:example>
        <maml:title>---------- EXAMPLE 1 ----------</maml:title>
        <dev:code>Invoke-SnsSqliteObjectInsert -DataBase "C:\temp.sqlite" -Table "MyTable" -InputObject $arrInput -SkipPrimaryKey;</dev:code>
        <dev:remarks>
          <maml:para></maml:para>
          <maml:para>Convert The Specified InputObjects Collection To SQL Parameters And Insert The Data Into MyTable.</maml:para>
          <maml:para>During The Insert The Primary Key Column Will Be Not Used Because It Is AUTOINCREMENT Integer.</maml:para>
          <maml:para></maml:para>
          <maml:para></maml:para>
          <maml:para></maml:para>
        </dev:remarks>
      </command:example>
      <command:example>
        <maml:title>---------- EXAMPLE 2 ----------</maml:title>
        <dev:code>$arrInput | Invoke-SnsSqliteObjectInsert -DataBase "C:\temp.sqlite" -Table "MyTable" -ConflictClause Replace;</dev:code>
        <dev:remarks>
          <maml:para></maml:para>
          <maml:para>Convert The Pipelined InputObjects Collection To SQL Parameters And Insert The Data Into MyTable.</maml:para>
          <maml:para>In Case Of Entry Conflicts Between Existing And New Ones The Old Entry Will Be Replaced With The New One.</maml:para>
          <maml:para></maml:para>
          <maml:para></maml:para>
          <maml:para></maml:para>
        </dev:remarks>
      </command:example>
    </command:examples>
    <maml:relatedLinks>
      <maml:navigationLink>
        <maml:linkText> svesavov / SnsSqlitePsModule - </maml:linkText>
        <maml:uri>https://github.com/svesavov/SnsSqlitePsModule</maml:uri>
      </maml:navigationLink>
      <maml:navigationLink>
        <maml:linkText> PowerShell Gallery - </maml:linkText>
        <maml:uri>https://www.powershellgallery.com/packages/SnsSqlitePsModule/</maml:uri>
      </maml:navigationLink>
      <maml:navigationLink>
        <maml:linkText> Svetoslav Savov on LinkedIn - </maml:linkText>
        <maml:uri>https://www.linkedin.com/in/svetoslavsavov</maml:uri>
      </maml:navigationLink>
      <maml:navigationLink>
        <maml:linkText> RamblingCookieMonster / PSSQLite - </maml:linkText>
        <maml:uri>https://github.com/RamblingCookieMonster/PSSQLite</maml:uri>
      </maml:navigationLink>
      <maml:navigationLink>
        <maml:linkText> SQLite V3 - </maml:linkText>
        <maml:uri>https://sqlite.org/index.html</maml:uri>
      </maml:navigationLink>
      <maml:navigationLink>
        <maml:linkText> SQLite V3 Data Types - </maml:linkText>
        <maml:uri>https://www.sqlite.org/datatype3.html</maml:uri>
      </maml:navigationLink>
      <maml:navigationLink>
        <maml:linkText> SQLite V3 Supported SQL Syntax - </maml:linkText>
        <maml:uri>https://www.sqlite.org/lang.html</maml:uri>
      </maml:navigationLink>
      <maml:navigationLink>
        <maml:linkText> SQLite V3 Pragma Statements - </maml:linkText>
        <maml:uri>http://www.sqlite.org/pragma.html</maml:uri>
      </maml:navigationLink>
      <maml:navigationLink>
        <maml:linkText> SQLite V3 Tutorials - </maml:linkText>
        <maml:uri>https://www.sqlitetutorial.net/</maml:uri>
      </maml:navigationLink>
      <maml:navigationLink>
        <maml:linkText> SQLite Studio - </maml:linkText>
        <maml:uri>https://github.com/pawelsalawa/sqlitestudio/releases</maml:uri>
      </maml:navigationLink>
    </maml:relatedLinks>
  </command:command>
  <!-- Cmdlet: Invoke-SnsSqliteQuery -->
  <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10">
    <command:details>
      <command:name>Invoke-SnsSqliteQuery</command:name>
      <command:verb>Invoke</command:verb>
      <command:noun>SnsSqliteQuery</command:noun>
      <maml:description>
        <maml:para>This Cmdlet Connect To A Specified SQLite DataBase, Executes SQL Query / Queries Against The DataBase, Reverts The Output In A Collection Of Specified DataType And Closes The SQL Session.</maml:para>
      </maml:description>
    </command:details>
    <maml:description>
      <maml:para></maml:para>
      <maml:para></maml:para>
      <maml:para></maml:para>
      <maml:para>This Cmdlet Connect To A Specified SQLite DataBase, Executes SQL Query / Queries Against The DataBase, Reverts The Output In A Collection Of Specified DataType And Closes The SQL Session.</maml:para>
      <maml:para>The CmdLet Is Based On Warren Frame's (RamblingCookieMonster) And His Contributors Project Named "PSSQLite". More Details Can Be Found Following The Links In The Link Section Below.</maml:para>
      <maml:para></maml:para>
      <maml:para></maml:para>
      <maml:para></maml:para>
      <maml:para>The CmdLet Have Four ParameterSets Which Represent The Allowed Combination Of Input Parameters.</maml:para>
      <maml:para>Like The Original CmdLet Most Of The Input Is Validated At The Beginning Within The Parameter Definitions. For That Purpose Some Custom Validation Attributes Were Developed, Since "[ValidateScript({})]" Validation Attribute Is Not Supported In C#.</maml:para>
      <maml:para>The CmdLet Is Capable To Connect To The Specified SQLite DataBase / DataSource By Itself. There Is No Requirement SQLiteConnection To Be Established In Advance. In The Begin Method The CmdLet Evaluate The Provided Input And In Case DataBase Instead Of SQLiteConnection Object Is Provided, The CmdLet Verifies The DataBase File Existence And If There Is A Need Creates The DataBase File. Automatic DataBase File Creation Does Not Work In C# For Some Reason, When A Query To Inexistent DataBase Is Sent. In Case New DataBase File Is Created, The User Is Notified With A Warning Message.</maml:para>
      <maml:para>Because The Connection Is Established In The Begin Method It Is Done Once And All The Specified Queries Are Sent At Once In The Process Method Which Gain Huge Performance Boost.</maml:para>
      <maml:para>To Boost The Performance Even Further, The CmdLet Will Execute All The Specified SQL Queries Or Single Query With Multiple Parameters Using SQL Transaction. But Only If:</maml:para>
      <maml:para>-- The Specified SQL Connection Is Not ReadOnly.</maml:para>
      <maml:para>-- ReadOnly Parameter Of The CmdLet Is Not Specified Or It Is Explicitly Specified FALSE.</maml:para>
      <maml:para>-- The First SQL Query Does Not Start With "VACUUM" Or "PRAGMA". SQLite Will Not Allow Those Queries To Be Executed Within Transaction. The CmdLet Will Verify Only The First SQL Query And Will Not Use Transaction In Case Of "PRAGMA" Or "VACUUM" Preventing Errors. In Case The CmdLet Is Cheated And Such Queries Are Sent As Consequent Queries SQLite Will Revert Errors And The Started Transaction Will Be Reverted. Which Means That The Successful Queries In The Beginning Will Be Reverted As Well.</maml:para>
      <maml:para>In Case Password Is Specified And The DataBase Doesn't Exists, The Newly Created DataBase Will Be Password Protected With The Specified Password.</maml:para>
      <maml:para>Password Can Be Specified Either As [System.String] Or As [System.Security.SecureString]. Any Other DataType Will Revert Validation Error.</maml:para>
      <maml:para>Existing DataBase File Can Be Opened As ReadOnly As Well. If The Specified DataBase Doesn't Exist And Is Created, The Specified ReadOnly Parameter Will Be Disregarded And The DataBase Will Be Opened In Write Mode.</maml:para>
      <maml:para>Whenever The SQL Query Which Needs To Be Run Against The DataBase Is Too Complex Can Be Used SQL Query Input File. The CmdLet Does Allow Usage Of SQL Query File With Standard ".sql" Extension With Specifying Of SQL Parameters As HashTable, However It Does Not Support Usage Of Multiple ".sql" Files At Once. It Still Can Be Used To Import Single SQL Query And Using Of Collection Of SQL Parameter Dictionaries To Insert Multiple Rows At Once. The ".sql" File Read Happens In Begin Method, Which Exclude The Possibility To Execute Multiple SQL Queries At Once. I Don't Want File Operations In Process Method Because Of Performance Considerations.</maml:para>
      <maml:para></maml:para>
      <maml:para></maml:para>
      <maml:para></maml:para>
      <maml:para>The CmdLet Parameters And Pipeline Were Redesigned, Because For Me Makes More Sense To Use The Pipeline For Sending SQL Queries And SQL Parameters Rather Than Sending DataBase Sources. In My Automation Scripts I Mostly Use Multiple Queries And Parameters Run Against Single DataBase Rather Than Simultaneously Run The Same Query With The Same Parameters Against Multiple DataBases. If I Ever Need High Availability On My Automations Would Prefer To Schedule Them To Run On A Virtual Machine Which Is A Resource On ESX Or Some Other Virtualization Platform Which Allows The Virtual Machine To Be Replicated And Powered On Different Host Machines Rather Than Writing Of A Script Capable To Jump From One Machine To Another. With The New Parameters And Pipeline Design The CmdLet Can:</maml:para>
      <maml:para>- Single SQL Query Without Any SQL Parameters HashTable. Provided Directly To The Parameters Or As Object Property Of An Object Coming From The Pipeline.</maml:para>
      <maml:para>- Single SQL Query And Single SQL Parameters HashTable, Provided Directly To The Parameters Or Via The Pipeline. Here Are Possible Two Combinations: The Query And The Parameter As Properties Of An Object Coming From The Pipeline Or The SQL Parameters HashTable Coming From The Pipeline And Query Specified As A Parameter.</maml:para>
      <maml:para>- Single SQL Query And Collection Of SQL Parameters HashTables. In This Case The Parameters Represents Multiple Rows Which Have To Be Inserted Within Single Table. The User Have To Keep In Mind That The SQL Query Must Have SQL Variables For Each Of The Columns And Each HashTable In The Collections Have To Have Keys Corresponding To Each Of The SQL Variables. The SQL Query And Its Corresponding HashTables Collection Can Be Specified Either Directly To The Parameters, Or Via As Properties Of An Object Coming From Pipeline Or Specifying The Query To The CmdLet Query Parameter And The HashTables Collection Coming From The Pipeline.</maml:para>
      <maml:para>The CmdLet Is Still Capable To Work With Collection Of SQL Queries, However The Queries And Their Corresponding SQL Parameters HashTable / HashTables If Any, Can Be Provided Only Via Object Properties Of Objects Collection Coming From The Pipeline. Single Object Coming From The Pipeline Cannot Have Multiple SQL Queries.</maml:para>
      <maml:para>The New Pipeline Approach Makes No Sense "Invoke-SqliteBulkCopy" CmdLet From The Original PowerShell Module To Be Rewritten Using C# At All. Because This CmdLet Can Be Used For Bulk Uploads Without Performance Degradation.</maml:para>
      <maml:para></maml:para>
      <maml:para></maml:para>
      <maml:para></maml:para>
      <maml:para>To Simplify The Dates Handling The Module Offers Predefined Formatting Strings To Convert DateTime Object To Understandable For SQLite Format. Although The CmdLet Will Handle SQL Parameters Without Being Converted To Strings, Before To Be Specified To CmdLet.</maml:para>
      <maml:para>Due To The Fact That SQLite Engine Converts Internally The Dates To UTC, Leaving The DateTime Objects To Be Automatically Handled Might Lead To Some Weird Results. If You Leave In Country With Daylight Saving Please Make Sure The DateTime Objects Are Converted Properly To UTC And Afterward Converted To String Which Specify To SQLite That The String Representation Of The Date Is In UTC.</maml:para>
      <maml:para>Whenever A DateTime Is Specified Within SQL Parameter HashTable Value, The CmdLet Will Convert It To SQLite Understandable String Transparently. During The Process The DateTime Object Is Handled As Follows:</maml:para>
      <maml:para>- If The Provided DateTime Object Have Kind UTC, The Object Is Converted To A String Recognizable By SQLite As UTC Time.</maml:para>
      <maml:para>- If The Provided DateTime Object Have Kind Local, The Object Is Converted To UTC Time Zone Using The .NET Conversion Method Based On The Regional Settings Of The Computer Where The CmdLet Is Run. Then Convert The UTC DateTime Object To A String Recognizable By SQLite As UTC Time.</maml:para>
      <maml:para>- If The Provided DateTime Object Have Kind Unspecified, The Object Is Converted To A String Recognizable By SQLite As Local Time Zone Leaving The DataBase To Handle The Conversion To UTC Time Zone By Itself.</maml:para>
      <maml:para>In Fact When SQL Select Query Is Used SQLite Provides The Dates In Local Time Zone And Generated DateTime Objects Have Kind Unspecified. This Does Allow The Output From One SQL Query To Be Used As Input To Another SQL Query.</maml:para>
      <maml:para></maml:para>
      <maml:para></maml:para>
      <maml:para></maml:para>
    </maml:description>
    <command:syntax>
      <!-- Parameter set: DbQry -->
      <command:syntaxItem>
        <maml:name>Invoke-SnsSqliteQuery</maml:name>
        <!-- Parameter: DataBase -->
        <command:parameter required="true" globbing="false" pipelineInput="false" position="named" aliases="DataBaseFile,Path,DataSource">
          <maml:name>DataBase</maml:name>
          <maml:description>
            <maml:para>Specifies SQLite DataBase File To Connect To.</maml:para>
            <maml:para>In Case DataBase Doesn't Exist The CmdLet Creates It And Generates Warning.</maml:para>
            <maml:para>Accepts Either File Name Or Full Absolute UNC Paths.</maml:para>
          </maml:description>
          <command:parameterValue required="true">string</command:parameterValue>
          <dev:type>
            <maml:name>System.String</maml:name>
            <maml:uri />
          </dev:type>
          <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <!-- Parameter: Query -->
        <command:parameter required="true" globbing="false" pipelineInput="true (ByPropertyName)" position="named" aliases="SqlQuery,DbQuery">
          <maml:name>Query</maml:name>
          <maml:description>
            <maml:para>Specifies The SQL Query To Be Run.</maml:para>
          </maml:description>
          <command:parameterValue required="true">string</command:parameterValue>
          <dev:type>
            <maml:name>System.String</maml:name>
            <maml:uri />
          </dev:type>
          <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <!-- Parameter: AppendDataSource -->
        <command:parameter required="false" globbing="false" pipelineInput="false" position="named">
          <maml:name>AppendDataSource</maml:name>
          <maml:description>
            <maml:para>Specifies To Append The SQLite DataBase Path To The Output.</maml:para>
          </maml:description>
          <command:parameterValue required="true">SwitchParameter</command:parameterValue>
          <dev:type>
            <maml:name>System.Management.Automation.SwitchParameter</maml:name>
            <maml:uri />
          </dev:type>
          <dev:defaultValue>False</dev:defaultValue>
        </command:parameter>
        <!-- Parameter: As -->
        <command:parameter required="false" globbing="false" pipelineInput="false" position="named">
          <maml:name>As</maml:name>
          <maml:description>
            <maml:para>Specifies To The CmdLet To Revert The Output In One Of The Following Types:</maml:para>
            <maml:para>[System.Data.DataSet]</maml:para>
            <maml:para>[System.Data.DataTable]</maml:para>
            <maml:para>[System.Data.DataRow]</maml:para>
            <maml:para>[System.Management.Automation.PSCustomObject]</maml:para>
          </maml:description>
          <command:parameterValue required="true">string</command:parameterValue>
          <dev:type>
            <maml:name>System.String</maml:name>
            <maml:uri />
          </dev:type>
          <dev:defaultValue>PSObject</dev:defaultValue>
        </command:parameter>
        <!-- Parameter: Password -->
        <command:parameter required="false" globbing="false" pipelineInput="false" position="named">
          <maml:name>Password</maml:name>
          <maml:description>
            <maml:para>Specifies A [System.Security.SecureString] Or [System.String] Password To Use In The SQLite Connection.</maml:para>
            <maml:para>In Case The DataBase Does Not Exists, The CmdLet Creates It With Specified Password.</maml:para>
          </maml:description>
          <command:parameterValue required="true">object</command:parameterValue>
          <dev:type>
            <maml:name>System.Object</maml:name>
            <maml:uri />
          </dev:type>
          <dev:defaultValue>System.Security.SecureString</dev:defaultValue>
        </command:parameter>
        <!-- Parameter: QueryTimeout -->
        <command:parameter required="false" globbing="false" pipelineInput="false" position="named" aliases="TimeOut">
          <maml:name>QueryTimeout</maml:name>
          <maml:description>
            <maml:para>Specifies The Number Of Seconds Before The Query Times Out.</maml:para>
          </maml:description>
          <command:parameterValue required="true">int</command:parameterValue>
          <dev:type>
            <maml:name>System.Int32</maml:name>
            <maml:uri />
          </dev:type>
          <dev:defaultValue>600</dev:defaultValue>
        </command:parameter>
        <!-- Parameter: ReadOnly -->
        <command:parameter required="false" globbing="false" pipelineInput="false" position="named">
          <maml:name>ReadOnly</maml:name>
          <maml:description>
            <maml:para>Specifies To Open The DataBase In ReadOnly Mode.</maml:para>
          </maml:description>
          <command:parameterValue required="true">SwitchParameter</command:parameterValue>
          <dev:type>
            <maml:name>System.Management.Automation.SwitchParameter</maml:name>
            <maml:uri />
          </dev:type>
          <dev:defaultValue>False</dev:defaultValue>
        </command:parameter>
        <!-- Parameter: SqlParameters -->
        <command:parameter required="false" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named">
          <maml:name>SqlParameters</maml:name>
          <maml:description>
            <maml:para>HashTable Of Parameters For Parameterized SQL Queries.</maml:para>
            <maml:para>CmdLet Offers Limited Support For Conversions To SQLite Friendly Formats.</maml:para>
            <maml:para>If You Pass A .NET DateTime, CmdLet Converts It To A String, That SQLite Recognizes As DateTime.</maml:para>
            <maml:para>The HashTable Keys Must Match The SQL Query Variable Names.</maml:para>
            <maml:para>The Keys Might Be Specified Either With Or Without At (@) Character In Front.</maml:para>
            <maml:para>The CmdLet Will Take Care To Add Them If Missing.</maml:para>
            <maml:para>Example:</maml:para>
            <maml:para>-Query "SELECT * FROM tblServers WHERE ServerFqdn LIKE @Server"</maml:para>
            <maml:para>-SqlParameters @{"@Server" = "Server01.contoso.com"}</maml:para>
          </maml:description>
          <command:parameterValue required="true">IDictionary[]</command:parameterValue>
          <dev:type>
            <maml:name>System.Collections.IDictionary[]</maml:name>
            <maml:uri />
          </dev:type>
        </command:parameter>
      </command:syntaxItem>
      <!-- Parameter set: DbFile -->
      <command:syntaxItem>
        <maml:name>Invoke-SnsSqliteQuery</maml:name>
        <!-- Parameter: DataBase -->
        <command:parameter required="true" globbing="false" pipelineInput="false" position="named" aliases="DataBaseFile,Path,DataSource">
          <maml:name>DataBase</maml:name>
          <maml:description>
            <maml:para>Specifies SQLite DataBase File To Connect To.</maml:para>
            <maml:para>In Case DataBase Doesn't Exist The CmdLet Creates It And Generates Warning.</maml:para>
            <maml:para>Accepts Either File Name Or Full Absolute UNC Paths.</maml:para>
          </maml:description>
          <command:parameterValue required="true">string</command:parameterValue>
          <dev:type>
            <maml:name>System.String</maml:name>
            <maml:uri />
          </dev:type>
          <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <!-- Parameter: InputFile -->
        <command:parameter required="true" globbing="false" pipelineInput="false" position="named" aliases="SqlFile,QueryFile">
          <maml:name>InputFile</maml:name>
          <maml:description>
            <maml:para>Specifies A ".sql" File To Be Used As Query Input.</maml:para>
            <maml:para>Works Only With Full Absolute UNC Path To The File.</maml:para>
          </maml:description>
          <command:parameterValue required="true">string</command:parameterValue>
          <dev:type>
            <maml:name>System.String</maml:name>
            <maml:uri />
          </dev:type>
          <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <!-- Parameter: AppendDataSource -->
        <command:parameter required="false" globbing="false" pipelineInput="false" position="named">
          <maml:name>AppendDataSource</maml:name>
          <maml:description>
            <maml:para>Specifies To Append The SQLite DataBase Path To The Output.</maml:para>
          </maml:description>
          <command:parameterValue required="true">SwitchParameter</command:parameterValue>
          <dev:type>
            <maml:name>System.Management.Automation.SwitchParameter</maml:name>
            <maml:uri />
          </dev:type>
          <dev:defaultValue>False</dev:defaultValue>
        </command:parameter>
        <!-- Parameter: As -->
        <command:parameter required="false" globbing="false" pipelineInput="false" position="named">
          <maml:name>As</maml:name>
          <maml:description>
            <maml:para>Specifies To The CmdLet To Revert The Output In One Of The Following Types:</maml:para>
            <maml:para>[System.Data.DataSet]</maml:para>
            <maml:para>[System.Data.DataTable]</maml:para>
            <maml:para>[System.Data.DataRow]</maml:para>
            <maml:para>[System.Management.Automation.PSCustomObject]</maml:para>
          </maml:description>
          <command:parameterValue required="true">string</command:parameterValue>
          <dev:type>
            <maml:name>System.String</maml:name>
            <maml:uri />
          </dev:type>
          <dev:defaultValue>PSObject</dev:defaultValue>
        </command:parameter>
        <!-- Parameter: Password -->
        <command:parameter required="false" globbing="false" pipelineInput="false" position="named">
          <maml:name>Password</maml:name>
          <maml:description>
            <maml:para>Specifies A [System.Security.SecureString] Or [System.String] Password To Use In The SQLite Connection.</maml:para>
            <maml:para>In Case The DataBase Does Not Exists, The CmdLet Creates It With Specified Password.</maml:para>
          </maml:description>
          <command:parameterValue required="true">object</command:parameterValue>
          <dev:type>
            <maml:name>System.Object</maml:name>
            <maml:uri />
          </dev:type>
          <dev:defaultValue>System.Security.SecureString</dev:defaultValue>
        </command:parameter>
        <!-- Parameter: QueryTimeout -->
        <command:parameter required="false" globbing="false" pipelineInput="false" position="named" aliases="TimeOut">
          <maml:name>QueryTimeout</maml:name>
          <maml:description>
            <maml:para>Specifies The Number Of Seconds Before The Query Times Out.</maml:para>
          </maml:description>
          <command:parameterValue required="true">int</command:parameterValue>
          <dev:type>
            <maml:name>System.Int32</maml:name>
            <maml:uri />
          </dev:type>
          <dev:defaultValue>600</dev:defaultValue>
        </command:parameter>
        <!-- Parameter: ReadOnly -->
        <command:parameter required="false" globbing="false" pipelineInput="false" position="named">
          <maml:name>ReadOnly</maml:name>
          <maml:description>
            <maml:para>Specifies To Open The DataBase In ReadOnly Mode.</maml:para>
          </maml:description>
          <command:parameterValue required="true">SwitchParameter</command:parameterValue>
          <dev:type>
            <maml:name>System.Management.Automation.SwitchParameter</maml:name>
            <maml:uri />
          </dev:type>
          <dev:defaultValue>False</dev:defaultValue>
        </command:parameter>
        <!-- Parameter: SqlParameters -->
        <command:parameter required="false" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named">
          <maml:name>SqlParameters</maml:name>
          <maml:description>
            <maml:para>HashTable Of Parameters For Parameterized SQL Queries.</maml:para>
            <maml:para>CmdLet Offers Limited Support For Conversions To SQLite Friendly Formats.</maml:para>
            <maml:para>If You Pass A .NET DateTime, CmdLet Converts It To A String, That SQLite Recognizes As DateTime.</maml:para>
            <maml:para>The HashTable Keys Must Match The SQL Query Variable Names.</maml:para>
            <maml:para>The Keys Might Be Specified Either With Or Without At (@) Character In Front.</maml:para>
            <maml:para>The CmdLet Will Take Care To Add Them If Missing.</maml:para>
            <maml:para>Example:</maml:para>
            <maml:para>-Query "SELECT * FROM tblServers WHERE ServerFqdn LIKE @Server"</maml:para>
            <maml:para>-SqlParameters @{"@Server" = "Server01.contoso.com"}</maml:para>
          </maml:description>
          <command:parameterValue required="true">IDictionary[]</command:parameterValue>
          <dev:type>
            <maml:name>System.Collections.IDictionary[]</maml:name>
            <maml:uri />
          </dev:type>
        </command:parameter>
      </command:syntaxItem>
      <!-- Parameter set: ConnQry -->
      <command:syntaxItem>
        <maml:name>Invoke-SnsSqliteQuery</maml:name>
        <!-- Parameter: Connection -->
        <command:parameter required="true" globbing="false" pipelineInput="false" position="named" aliases="SQLiteConnection">
          <maml:name>Connection</maml:name>
          <maml:description>
            <maml:para>Specifies Existing SQLite Connection.</maml:para>
            <maml:para>In Case The Connection Is Not Open Or Expired The CmdLet Opens It.</maml:para>
          </maml:description>
          <command:parameterValue required="true">SQLiteConnection</command:parameterValue>
          <dev:type>
            <maml:name>System.Data.SQLite.SQLiteConnection</maml:name>
            <maml:uri />
          </dev:type>
          <dev:defaultValue>System.Data.SQLite.SQLiteConnection</dev:defaultValue>
        </command:parameter>
        <!-- Parameter: Query -->
        <command:parameter required="true" globbing="false" pipelineInput="true (ByPropertyName)" position="named" aliases="SqlQuery,DbQuery">
          <maml:name>Query</maml:name>
          <maml:description>
            <maml:para>Specifies The SQL Query To Be Run.</maml:para>
          </maml:description>
          <command:parameterValue required="true">string</command:parameterValue>
          <dev:type>
            <maml:name>System.String</maml:name>
            <maml:uri />
          </dev:type>
          <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <!-- Parameter: AppendDataSource -->
        <command:parameter required="false" globbing="false" pipelineInput="false" position="named">
          <maml:name>AppendDataSource</maml:name>
          <maml:description>
            <maml:para>Specifies To Append The SQLite DataBase Path To The Output.</maml:para>
          </maml:description>
          <command:parameterValue required="true">SwitchParameter</command:parameterValue>
          <dev:type>
            <maml:name>System.Management.Automation.SwitchParameter</maml:name>
            <maml:uri />
          </dev:type>
          <dev:defaultValue>False</dev:defaultValue>
        </command:parameter>
        <!-- Parameter: As -->
        <command:parameter required="false" globbing="false" pipelineInput="false" position="named">
          <maml:name>As</maml:name>
          <maml:description>
            <maml:para>Specifies To The CmdLet To Revert The Output In One Of The Following Types:</maml:para>
            <maml:para>[System.Data.DataSet]</maml:para>
            <maml:para>[System.Data.DataTable]</maml:para>
            <maml:para>[System.Data.DataRow]</maml:para>
            <maml:para>[System.Management.Automation.PSCustomObject]</maml:para>
          </maml:description>
          <command:parameterValue required="true">string</command:parameterValue>
          <dev:type>
            <maml:name>System.String</maml:name>
            <maml:uri />
          </dev:type>
          <dev:defaultValue>PSObject</dev:defaultValue>
        </command:parameter>
        <!-- Parameter: QueryTimeout -->
        <command:parameter required="false" globbing="false" pipelineInput="false" position="named" aliases="TimeOut">
          <maml:name>QueryTimeout</maml:name>
          <maml:description>
            <maml:para>Specifies The Number Of Seconds Before The Query Times Out.</maml:para>
          </maml:description>
          <command:parameterValue required="true">int</command:parameterValue>
          <dev:type>
            <maml:name>System.Int32</maml:name>
            <maml:uri />
          </dev:type>
          <dev:defaultValue>600</dev:defaultValue>
        </command:parameter>
        <!-- Parameter: SqlParameters -->
        <command:parameter required="false" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named">
          <maml:name>SqlParameters</maml:name>
          <maml:description>
            <maml:para>HashTable Of Parameters For Parameterized SQL Queries.</maml:para>
            <maml:para>CmdLet Offers Limited Support For Conversions To SQLite Friendly Formats.</maml:para>
            <maml:para>If You Pass A .NET DateTime, CmdLet Converts It To A String, That SQLite Recognizes As DateTime.</maml:para>
            <maml:para>The HashTable Keys Must Match The SQL Query Variable Names.</maml:para>
            <maml:para>The Keys Might Be Specified Either With Or Without At (@) Character In Front.</maml:para>
            <maml:para>The CmdLet Will Take Care To Add Them If Missing.</maml:para>
            <maml:para>Example:</maml:para>
            <maml:para>-Query "SELECT * FROM tblServers WHERE ServerFqdn LIKE @Server"</maml:para>
            <maml:para>-SqlParameters @{"@Server" = "Server01.contoso.com"}</maml:para>
          </maml:description>
          <command:parameterValue required="true">IDictionary[]</command:parameterValue>
          <dev:type>
            <maml:name>System.Collections.IDictionary[]</maml:name>
            <maml:uri />
          </dev:type>
        </command:parameter>
      </command:syntaxItem>
      <!-- Parameter set: ConnFile -->
      <command:syntaxItem>
        <maml:name>Invoke-SnsSqliteQuery</maml:name>
        <!-- Parameter: Connection -->
        <command:parameter required="true" globbing="false" pipelineInput="false" position="named" aliases="SQLiteConnection">
          <maml:name>Connection</maml:name>
          <maml:description>
            <maml:para>Specifies Existing SQLite Connection.</maml:para>
            <maml:para>In Case The Connection Is Not Open Or Expired The CmdLet Opens It.</maml:para>
          </maml:description>
          <command:parameterValue required="true">SQLiteConnection</command:parameterValue>
          <dev:type>
            <maml:name>System.Data.SQLite.SQLiteConnection</maml:name>
            <maml:uri />
          </dev:type>
          <dev:defaultValue>System.Data.SQLite.SQLiteConnection</dev:defaultValue>
        </command:parameter>
        <!-- Parameter: InputFile -->
        <command:parameter required="true" globbing="false" pipelineInput="false" position="named" aliases="SqlFile,QueryFile">
          <maml:name>InputFile</maml:name>
          <maml:description>
            <maml:para>Specifies A ".sql" File To Be Used As Query Input.</maml:para>
            <maml:para>Works Only With Full Absolute UNC Path To The File.</maml:para>
          </maml:description>
          <command:parameterValue required="true">string</command:parameterValue>
          <dev:type>
            <maml:name>System.String</maml:name>
            <maml:uri />
          </dev:type>
          <dev:defaultValue></dev:defaultValue>
        </command:parameter>
        <!-- Parameter: AppendDataSource -->
        <command:parameter required="false" globbing="false" pipelineInput="false" position="named">
          <maml:name>AppendDataSource</maml:name>
          <maml:description>
            <maml:para>Specifies To Append The SQLite DataBase Path To The Output.</maml:para>
          </maml:description>
          <command:parameterValue required="true">SwitchParameter</command:parameterValue>
          <dev:type>
            <maml:name>System.Management.Automation.SwitchParameter</maml:name>
            <maml:uri />
          </dev:type>
          <dev:defaultValue>False</dev:defaultValue>
        </command:parameter>
        <!-- Parameter: As -->
        <command:parameter required="false" globbing="false" pipelineInput="false" position="named">
          <maml:name>As</maml:name>
          <maml:description>
            <maml:para>Specifies To The CmdLet To Revert The Output In One Of The Following Types:</maml:para>
            <maml:para>[System.Data.DataSet]</maml:para>
            <maml:para>[System.Data.DataTable]</maml:para>
            <maml:para>[System.Data.DataRow]</maml:para>
            <maml:para>[System.Management.Automation.PSCustomObject]</maml:para>
          </maml:description>
          <command:parameterValue required="true">string</command:parameterValue>
          <dev:type>
            <maml:name>System.String</maml:name>
            <maml:uri />
          </dev:type>
          <dev:defaultValue>PSObject</dev:defaultValue>
        </command:parameter>
        <!-- Parameter: QueryTimeout -->
        <command:parameter required="false" globbing="false" pipelineInput="false" position="named" aliases="TimeOut">
          <maml:name>QueryTimeout</maml:name>
          <maml:description>
            <maml:para>Specifies The Number Of Seconds Before The Query Times Out.</maml:para>
          </maml:description>
          <command:parameterValue required="true">int</command:parameterValue>
          <dev:type>
            <maml:name>System.Int32</maml:name>
            <maml:uri />
          </dev:type>
          <dev:defaultValue>600</dev:defaultValue>
        </command:parameter>
        <!-- Parameter: SqlParameters -->
        <command:parameter required="false" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named">
          <maml:name>SqlParameters</maml:name>
          <maml:description>
            <maml:para>HashTable Of Parameters For Parameterized SQL Queries.</maml:para>
            <maml:para>CmdLet Offers Limited Support For Conversions To SQLite Friendly Formats.</maml:para>
            <maml:para>If You Pass A .NET DateTime, CmdLet Converts It To A String, That SQLite Recognizes As DateTime.</maml:para>
            <maml:para>The HashTable Keys Must Match The SQL Query Variable Names.</maml:para>
            <maml:para>The Keys Might Be Specified Either With Or Without At (@) Character In Front.</maml:para>
            <maml:para>The CmdLet Will Take Care To Add Them If Missing.</maml:para>
            <maml:para>Example:</maml:para>
            <maml:para>-Query "SELECT * FROM tblServers WHERE ServerFqdn LIKE @Server"</maml:para>
            <maml:para>-SqlParameters @{"@Server" = "Server01.contoso.com"}</maml:para>
          </maml:description>
          <command:parameterValue required="true">IDictionary[]</command:parameterValue>
          <dev:type>
            <maml:name>System.Collections.IDictionary[]</maml:name>
            <maml:uri />
          </dev:type>
        </command:parameter>
      </command:syntaxItem>
    </command:syntax>
    <command:parameters>
      <!-- Parameter: DataBase -->
      <command:parameter required="true" globbing="false" pipelineInput="false" position="named" aliases="DataBaseFile,Path,DataSource">
        <maml:name>DataBase</maml:name>
        <maml:description>
          <maml:para>Specifies SQLite DataBase File To Connect To.</maml:para>
          <maml:para>In Case DataBase Doesn't Exist The CmdLet Creates It And Generates Warning.</maml:para>
          <maml:para>Accepts Either File Name Or Full Absolute UNC Paths.</maml:para>
        </maml:description>
        <command:parameterValue required="true">string</command:parameterValue>
        <dev:type>
          <maml:name>System.String</maml:name>
          <maml:uri />
        </dev:type>
        <dev:defaultValue></dev:defaultValue>
      </command:parameter>
      <command:parameter required="true" globbing="false" pipelineInput="false" position="named" aliases="DataBaseFile,Path,DataSource">
        <maml:name>DataBaseFile</maml:name>
        <maml:description>
          <maml:para>Specifies SQLite DataBase File To Connect To.</maml:para>
          <maml:para>In Case DataBase Doesn't Exist The CmdLet Creates It And Generates Warning.</maml:para>
          <maml:para>Accepts Either File Name Or Full Absolute UNC Paths.</maml:para>
          <maml:para>This is an alias of the DataBase parameter.</maml:para>
        </maml:description>
        <command:parameterValue required="true">string</command:parameterValue>
        <dev:type>
          <maml:name>System.String</maml:name>
          <maml:uri />
        </dev:type>
        <dev:defaultValue></dev:defaultValue>
      </command:parameter>
      <command:parameter required="true" globbing="false" pipelineInput="false" position="named" aliases="DataBaseFile,Path,DataSource">
        <maml:name>Path</maml:name>
        <maml:description>
          <maml:para>Specifies SQLite DataBase File To Connect To.</maml:para>
          <maml:para>In Case DataBase Doesn't Exist The CmdLet Creates It And Generates Warning.</maml:para>
          <maml:para>Accepts Either File Name Or Full Absolute UNC Paths.</maml:para>
          <maml:para>This is an alias of the DataBase parameter.</maml:para>
        </maml:description>
        <command:parameterValue required="true">string</command:parameterValue>
        <dev:type>
          <maml:name>System.String</maml:name>
          <maml:uri />
        </dev:type>
        <dev:defaultValue></dev:defaultValue>
      </command:parameter>
      <command:parameter required="true" globbing="false" pipelineInput="false" position="named" aliases="DataBaseFile,Path,DataSource">
        <maml:name>DataSource</maml:name>
        <maml:description>
          <maml:para>Specifies SQLite DataBase File To Connect To.</maml:para>
          <maml:para>In Case DataBase Doesn't Exist The CmdLet Creates It And Generates Warning.</maml:para>
          <maml:para>Accepts Either File Name Or Full Absolute UNC Paths.</maml:para>
          <maml:para>This is an alias of the DataBase parameter.</maml:para>
        </maml:description>
        <command:parameterValue required="true">string</command:parameterValue>
        <dev:type>
          <maml:name>System.String</maml:name>
          <maml:uri />
        </dev:type>
        <dev:defaultValue></dev:defaultValue>
      </command:parameter>
      <!-- Parameter: Password -->
      <command:parameter required="false" globbing="false" pipelineInput="false" position="named">
        <maml:name>Password</maml:name>
        <maml:description>
          <maml:para>Specifies A [System.Security.SecureString] Or [System.String] Password To Use In The SQLite Connection.</maml:para>
          <maml:para>In Case The DataBase Does Not Exists, The CmdLet Creates It With Specified Password.</maml:para>
        </maml:description>
        <command:parameterValue required="true">object</command:parameterValue>
        <dev:type>
          <maml:name>System.Object</maml:name>
          <maml:uri />
        </dev:type>
        <dev:defaultValue>System.Security.SecureString</dev:defaultValue>
      </command:parameter>
      <!-- Parameter: ReadOnly -->
      <command:parameter required="false" globbing="false" pipelineInput="false" position="named">
        <maml:name>ReadOnly</maml:name>
        <maml:description>
          <maml:para>Specifies To Open The DataBase In ReadOnly Mode.</maml:para>
        </maml:description>
        <command:parameterValue required="true">SwitchParameter</command:parameterValue>
        <dev:type>
          <maml:name>System.Management.Automation.SwitchParameter</maml:name>
          <maml:uri />
        </dev:type>
        <dev:defaultValue>False</dev:defaultValue>
      </command:parameter>
      <!-- Parameter: Connection -->
      <command:parameter required="true" globbing="false" pipelineInput="false" position="named" aliases="SQLiteConnection">
        <maml:name>Connection</maml:name>
        <maml:description>
          <maml:para>Specifies Existing SQLite Connection.</maml:para>
          <maml:para>In Case The Connection Is Not Open Or Expired The CmdLet Opens It.</maml:para>
        </maml:description>
        <command:parameterValue required="true">SQLiteConnection</command:parameterValue>
        <dev:type>
          <maml:name>System.Data.SQLite.SQLiteConnection</maml:name>
          <maml:uri />
        </dev:type>
        <dev:defaultValue>System.Data.SQLite.SQLiteConnection</dev:defaultValue>
      </command:parameter>
      <command:parameter required="true" globbing="false" pipelineInput="false" position="named" aliases="SQLiteConnection">
        <maml:name>SQLiteConnection</maml:name>
        <maml:description>
          <maml:para>Specifies Existing SQLite Connection.</maml:para>
          <maml:para>In Case The Connection Is Not Open Or Expired The CmdLet Opens It.</maml:para>
          <maml:para>This is an alias of the Connection parameter.</maml:para>
        </maml:description>
        <command:parameterValue required="true">SQLiteConnection</command:parameterValue>
        <dev:type>
          <maml:name>System.Data.SQLite.SQLiteConnection</maml:name>
          <maml:uri />
        </dev:type>
        <dev:defaultValue>System.Data.SQLite.SQLiteConnection</dev:defaultValue>
      </command:parameter>
      <!-- Parameter: Query -->
      <command:parameter required="true" globbing="false" pipelineInput="true (ByPropertyName)" position="named" aliases="SqlQuery,DbQuery">
        <maml:name>Query</maml:name>
        <maml:description>
          <maml:para>Specifies The SQL Query To Be Run.</maml:para>
        </maml:description>
        <command:parameterValue required="true">string</command:parameterValue>
        <dev:type>
          <maml:name>System.String</maml:name>
          <maml:uri />
        </dev:type>
        <dev:defaultValue></dev:defaultValue>
      </command:parameter>
      <command:parameter required="true" globbing="false" pipelineInput="true (ByPropertyName)" position="named" aliases="SqlQuery,DbQuery">
        <maml:name>SqlQuery</maml:name>
        <maml:description>
          <maml:para>Specifies The SQL Query To Be Run.</maml:para>
          <maml:para>This is an alias of the Query parameter.</maml:para>
        </maml:description>
        <command:parameterValue required="true">string</command:parameterValue>
        <dev:type>
          <maml:name>System.String</maml:name>
          <maml:uri />
        </dev:type>
        <dev:defaultValue></dev:defaultValue>
      </command:parameter>
      <command:parameter required="true" globbing="false" pipelineInput="true (ByPropertyName)" position="named" aliases="SqlQuery,DbQuery">
        <maml:name>DbQuery</maml:name>
        <maml:description>
          <maml:para>Specifies The SQL Query To Be Run.</maml:para>
          <maml:para>This is an alias of the Query parameter.</maml:para>
        </maml:description>
        <command:parameterValue required="true">string</command:parameterValue>
        <dev:type>
          <maml:name>System.String</maml:name>
          <maml:uri />
        </dev:type>
        <dev:defaultValue></dev:defaultValue>
      </command:parameter>
      <!-- Parameter: InputFile -->
      <command:parameter required="true" globbing="false" pipelineInput="false" position="named" aliases="SqlFile,QueryFile">
        <maml:name>InputFile</maml:name>
        <maml:description>
          <maml:para>Specifies A ".sql" File To Be Used As Query Input.</maml:para>
          <maml:para>Works Only With Full Absolute UNC Path To The File.</maml:para>
        </maml:description>
        <command:parameterValue required="true">string</command:parameterValue>
        <dev:type>
          <maml:name>System.String</maml:name>
          <maml:uri />
        </dev:type>
        <dev:defaultValue></dev:defaultValue>
      </command:parameter>
      <command:parameter required="true" globbing="false" pipelineInput="false" position="named" aliases="SqlFile,QueryFile">
        <maml:name>SqlFile</maml:name>
        <maml:description>
          <maml:para>Specifies A ".sql" File To Be Used As Query Input.</maml:para>
          <maml:para>Works Only With Full Absolute UNC Path To The File.</maml:para>
          <maml:para>This is an alias of the InputFile parameter.</maml:para>
        </maml:description>
        <command:parameterValue required="true">string</command:parameterValue>
        <dev:type>
          <maml:name>System.String</maml:name>
          <maml:uri />
        </dev:type>
        <dev:defaultValue></dev:defaultValue>
      </command:parameter>
      <command:parameter required="true" globbing="false" pipelineInput="false" position="named" aliases="SqlFile,QueryFile">
        <maml:name>QueryFile</maml:name>
        <maml:description>
          <maml:para>Specifies A ".sql" File To Be Used As Query Input.</maml:para>
          <maml:para>Works Only With Full Absolute UNC Path To The File.</maml:para>
          <maml:para>This is an alias of the InputFile parameter.</maml:para>
        </maml:description>
        <command:parameterValue required="true">string</command:parameterValue>
        <dev:type>
          <maml:name>System.String</maml:name>
          <maml:uri />
        </dev:type>
        <dev:defaultValue></dev:defaultValue>
      </command:parameter>
      <!-- Parameter: SqlParameters -->
      <command:parameter required="false" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named">
        <maml:name>SqlParameters</maml:name>
        <maml:description>
          <maml:para>HashTable Of Parameters For Parameterized SQL Queries.</maml:para>
          <maml:para>CmdLet Offers Limited Support For Conversions To SQLite Friendly Formats.</maml:para>
          <maml:para>If You Pass A .NET DateTime, CmdLet Converts It To A String, That SQLite Recognizes As DateTime.</maml:para>
          <maml:para>The HashTable Keys Must Match The SQL Query Variable Names.</maml:para>
          <maml:para>The Keys Might Be Specified Either With Or Without At (@) Character In Front.</maml:para>
          <maml:para>The CmdLet Will Take Care To Add Them If Missing.</maml:para>
          <maml:para>Example:</maml:para>
          <maml:para>-Query "SELECT * FROM tblServers WHERE ServerFqdn LIKE @Server"</maml:para>
          <maml:para>-SqlParameters @{"@Server" = "Server01.contoso.com"}</maml:para>
        </maml:description>
        <command:parameterValue required="true">IDictionary[]</command:parameterValue>
        <dev:type>
          <maml:name>System.Collections.IDictionary[]</maml:name>
          <maml:uri />
        </dev:type>
      </command:parameter>
      <!-- Parameter: QueryTimeout -->
      <command:parameter required="false" globbing="false" pipelineInput="false" position="named" aliases="TimeOut">
        <maml:name>QueryTimeout</maml:name>
        <maml:description>
          <maml:para>Specifies The Number Of Seconds Before The Query Times Out.</maml:para>
        </maml:description>
        <command:parameterValue required="true">int</command:parameterValue>
        <dev:type>
          <maml:name>System.Int32</maml:name>
          <maml:uri />
        </dev:type>
        <dev:defaultValue>600</dev:defaultValue>
      </command:parameter>
      <command:parameter required="false" globbing="false" pipelineInput="false" position="named" aliases="TimeOut">
        <maml:name>TimeOut</maml:name>
        <maml:description>
          <maml:para>Specifies The Number Of Seconds Before The Query Times Out.</maml:para>
          <maml:para>This is an alias of the QueryTimeout parameter.</maml:para>
        </maml:description>
        <command:parameterValue required="true">int</command:parameterValue>
        <dev:type>
          <maml:name>System.Int32</maml:name>
          <maml:uri />
        </dev:type>
        <dev:defaultValue>600</dev:defaultValue>
      </command:parameter>
      <!-- Parameter: As -->
      <command:parameter required="false" globbing="false" pipelineInput="false" position="named">
        <maml:name>As</maml:name>
        <maml:description>
          <maml:para>Specifies To The CmdLet To Revert The Output In One Of The Following Types:</maml:para>
          <maml:para>[System.Data.DataSet]</maml:para>
          <maml:para>[System.Data.DataTable]</maml:para>
          <maml:para>[System.Data.DataRow]</maml:para>
          <maml:para>[System.Management.Automation.PSCustomObject]</maml:para>
        </maml:description>
        <command:parameterValue required="true">string</command:parameterValue>
        <dev:type>
          <maml:name>System.String</maml:name>
          <maml:uri />
        </dev:type>
        <dev:defaultValue>PSObject</dev:defaultValue>
      </command:parameter>
      <!-- Parameter: AppendDataSource -->
      <command:parameter required="false" globbing="false" pipelineInput="false" position="named">
        <maml:name>AppendDataSource</maml:name>
        <maml:description>
          <maml:para>Specifies To Append The SQLite DataBase Path To The Output.</maml:para>
        </maml:description>
        <command:parameterValue required="true">SwitchParameter</command:parameterValue>
        <dev:type>
          <maml:name>System.Management.Automation.SwitchParameter</maml:name>
          <maml:uri />
        </dev:type>
        <dev:defaultValue>False</dev:defaultValue>
      </command:parameter>
    </command:parameters>
    <command:inputTypes>
      <command:inputType>
        <dev:type>
          <maml:name>System.String</maml:name>
          <maml:uri />
        </dev:type>
        <maml:description>
          <maml:para>Specifies The SQL Query To Be Run.</maml:para>
        </maml:description>
      </command:inputType>
      <command:inputType>
        <dev:type>
          <maml:name>System.Collections.IDictionary[]</maml:name>
          <maml:uri />
        </dev:type>
        <maml:description>
          <maml:para>HashTable Of Parameters For Parameterized SQL Queries.</maml:para>
          <maml:para>CmdLet Offers Limited Support For Conversions To SQLite Friendly Formats.</maml:para>
          <maml:para>If You Pass A .NET DateTime, CmdLet Converts It To A String, That SQLite Recognizes As DateTime.</maml:para>
          <maml:para>The HashTable Keys Must Match The SQL Query Variable Names.</maml:para>
          <maml:para>The Keys Might Be Specified Either With Or Without At (@) Character In Front.</maml:para>
          <maml:para>The CmdLet Will Take Care To Add Them If Missing.</maml:para>
          <maml:para>Example:</maml:para>
          <maml:para>-Query "SELECT * FROM tblServers WHERE ServerFqdn LIKE @Server"</maml:para>
          <maml:para>-SqlParameters @{"@Server" = "Server01.contoso.com"}</maml:para>
        </maml:description>
      </command:inputType>
    </command:inputTypes>
    <command:returnValues>
      <!-- OutputType: DataRow -->
      <command:returnValue>
        <dev:type>
          <maml:name>System.Data.DataRow</maml:name>
          <maml:uri />
        </dev:type>
      </command:returnValue>
      <!-- OutputType: DataSet -->
      <command:returnValue>
        <dev:type>
          <maml:name>System.Data.DataSet</maml:name>
          <maml:uri />
        </dev:type>
      </command:returnValue>
      <!-- OutputType: DataTable -->
      <command:returnValue>
        <dev:type>
          <maml:name>System.Data.DataTable</maml:name>
          <maml:uri />
        </dev:type>
      </command:returnValue>
      <!-- OutputType: PSCustomObject -->
      <command:returnValue>
        <dev:type>
          <maml:name>System.Management.Automation.PSCustomObject</maml:name>
          <maml:uri />
        </dev:type>
      </command:returnValue>
    </command:returnValues>
    <maml:alertSet>
      <maml:title></maml:title>
      <maml:alert>
        <maml:para>AUTHOR: Svetoslav Nedyalkov Savov (svesavov@hotmail.com)</maml:para>
        <maml:para>THIS CODE IS MADE AVAILABLE AS IS, WITHOUT WARRANTY OF ANY KIND. THE ENTIRE RISK</maml:para>
        <maml:para>OF THE USE OR THE RESULTS FROM THE USE OF THIS CODE REMAINS WITH THE USER.</maml:para>
        <maml:para></maml:para>
        <maml:para></maml:para>
        <maml:para></maml:para>
      </maml:alert>
    </maml:alertSet>
    <command:examples>
      <command:example>
        <maml:title>---------- EXAMPLE 1 ----------</maml:title>
        <dev:code>Invoke-SnsSqliteQuery -DataBase "temp.sqlite" `
    -Query "CREATE TABLE Events (ID INTEGER, ComputerID INTEGER, Event VARCHAR(20), Date DATETIME)";</dev:code>
        <dev:remarks>
          <maml:para></maml:para>
          <maml:para>Create A Table "Events" And The DataBase If It Does Not Already Exists.</maml:para>
          <maml:para></maml:para>
          <maml:para></maml:para>
          <maml:para></maml:para>
        </dev:remarks>
      </command:example>
      <command:example>
        <maml:title>---------- EXAMPLE 2 ----------</maml:title>
        <dev:code>Invoke-SnsSqliteQuery `
    -DataBase "temp.sqlite" `
    -Query "INSERT INTO Events (ID, ComputerID, Event, Date) VALUES (@ID, @ComputerID, @Event, @Date);" `
    -SqlParameters `
    @{
        "@ID" = 1;
        "@ComputerID" = 5
        "Event" = "Error";
        "Date" = [System.DateTime]::Now.ToString([SnsSqlitePsModule.TimeFormat]::Local);
    };</dev:code>
        <dev:remarks>
          <maml:para></maml:para>
          <maml:para>Runs Single Query With Single SQL Parameters HashTable Against "temp.sqlite" DataBase.</maml:para>
          <maml:para>In The SQL Parameters Keys Are Used Both Strings With And Without At (@) Character.</maml:para>
          <maml:para>The Keys Match Exactly The SQL Query Variables. Please Note That There Are SQL Variables For Each Of The Columns.</maml:para>
          <maml:para></maml:para>
          <maml:para></maml:para>
          <maml:para></maml:para>
        </dev:remarks>
      </command:example>
      <command:example>
        <maml:title>---------- EXAMPLE 3 ----------</maml:title>
        <dev:code>Invoke-SnsSqliteQuery `
    -DataBase "temp.sqlite" `
    -Query "INSERT INTO Computers (ID, HostName) VALUES (@ID, @HostName);" `
    -SqlParameters `
    @(
        @{"@ID" = 1; "HostName" = "Computer1.contoso.com"; };
        @{"@ID" = 2; "HostName" = "Computer2.contoso.com"; };
    );</dev:code>
        <dev:remarks>
          <maml:para></maml:para>
          <maml:para>Runs Single Query With Multiple SQL Parameters HashTables Against "temp.sqlite" DataBase.</maml:para>
          <maml:para>In The SQL Parameters Keys Are Used Both Strings With And Without At (@) Character.</maml:para>
          <maml:para>The Keys Match Exactly The SQL Query Variables. Please Note That There Are SQL Variables For Each Of The Columns.</maml:para>
          <maml:para></maml:para>
          <maml:para></maml:para>
          <maml:para></maml:para>
        </dev:remarks>
      </command:example>
    </command:examples>
    <maml:relatedLinks>
      <maml:navigationLink>
        <maml:linkText> svesavov / SnsSqlitePsModule - </maml:linkText>
        <maml:uri>https://github.com/svesavov/SnsSqlitePsModule</maml:uri>
      </maml:navigationLink>
      <maml:navigationLink>
        <maml:linkText> PowerShell Gallery - </maml:linkText>
        <maml:uri>https://www.powershellgallery.com/packages/SnsSqlitePsModule/</maml:uri>
      </maml:navigationLink>
      <maml:navigationLink>
        <maml:linkText> Svetoslav Savov on LinkedIn - </maml:linkText>
        <maml:uri>https://www.linkedin.com/in/svetoslavsavov</maml:uri>
      </maml:navigationLink>
      <maml:navigationLink>
        <maml:linkText> RamblingCookieMonster / PSSQLite - </maml:linkText>
        <maml:uri>https://github.com/RamblingCookieMonster/PSSQLite</maml:uri>
      </maml:navigationLink>
      <maml:navigationLink>
        <maml:linkText> SQLite V3 - </maml:linkText>
        <maml:uri>https://sqlite.org/index.html</maml:uri>
      </maml:navigationLink>
      <maml:navigationLink>
        <maml:linkText> SQLite V3 Data Types - </maml:linkText>
        <maml:uri>https://www.sqlite.org/datatype3.html</maml:uri>
      </maml:navigationLink>
      <maml:navigationLink>
        <maml:linkText> SQLite V3 Supported SQL Syntax - </maml:linkText>
        <maml:uri>https://www.sqlite.org/lang.html</maml:uri>
      </maml:navigationLink>
      <maml:navigationLink>
        <maml:linkText> SQLite V3 Pragma Statements - </maml:linkText>
        <maml:uri>http://www.sqlite.org/pragma.html</maml:uri>
      </maml:navigationLink>
      <maml:navigationLink>
        <maml:linkText> SQLite V3 Tutorials - </maml:linkText>
        <maml:uri>https://www.sqlitetutorial.net/</maml:uri>
      </maml:navigationLink>
      <maml:navigationLink>
        <maml:linkText> SQLite Studio - </maml:linkText>
        <maml:uri>https://github.com/pawelsalawa/sqlitestudio/releases</maml:uri>
      </maml:navigationLink>
    </maml:relatedLinks>
  </command:command>
</helpItems>