CData.MongoDBCmdlets.Commands.dll-help.xml

<?xml version="1.0" encoding="utf-8"?>
 
<helpItems xmlns="http://msh" schema="maml">
 
<!-- Cmdlet --><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>
      Add-MongoDB
    </command:name>
    <maml:description>
      <maml:para>Inserts MongoDB data.</maml:para>
    </maml:description>
    <maml:copyright>
      <maml:para>Copyright (c) 2017 CData Software, Inc. - All rights reserved.</maml:para>
    </maml:copyright>
    <command:verb>Add</command:verb>
    <command:noun>MongoDB</command:noun>
    <dev:version>16.0</dev:version>
  </command:details>
   
  <maml:description>
    <maml:para>Inserts MongoDB data. The Add-MongoDB cmdlet allows you to use a syntax similar to SQL INSERT statements to create new MongoDB records.</maml:para><maml:para>Add-MongoDB -Connection $connection -Table "Customers" -Columns @("CompanyName") -Values @("Jon Deere")</maml:para><maml:para></maml:para><maml:para></maml:para>
  </maml:description>
   
  <!-- Cmdlet syntax section-->
  <command:syntax>
      <command:syntaxItem>
        <maml:name>Add-MongoDB [parameters]</maml:name>
     
        <command:parameter required="true"
          pipelineInput="true"
          position="named">
          <maml:name>Columns</maml:name>
          <maml:description>
            <maml:para>The columns on which the operation will be performed.</maml:para>
          </maml:description>
          <command:parameterValue >
            string[]
          </command:parameterValue>
        </command:parameter>
     
        <command:parameter required="true"
          pipelineInput="true"
          position="0">
          <maml:name>Connection</maml:name>
          <maml:description>
            <maml:para>The connection object.</maml:para>
          </maml:description>
          <command:parameterValue >
            DataConnection
          </command:parameterValue>
        </command:parameter>
     
        <command:parameter required="true"
          pipelineInput="true"
          position="named">
          <maml:name>Table</maml:name>
          <maml:description>
            <maml:para>The table on which the operation will be performed.</maml:para>
          </maml:description>
          <command:parameterValue >
            string
          </command:parameterValue>
        </command:parameter>
     
        <command:parameter required="true"
          pipelineInput="false"
          position="named">
          <maml:name>Values</maml:name>
          <maml:description>
            <maml:para>The values that will be used to update the table.</maml:para>
          </maml:description>
          <command:parameterValue >
            string[]
          </command:parameterValue>
        </command:parameter>
 
      </command:syntaxItem>
    </command:syntax>
 
  <!-- Cmdlet parameter section -->
    <command:parameters>
  <command:parameter required="true"
  pipelineInput="true"
  position="named" >
      <maml:name>Columns</maml:name>
      <maml:description>
        <maml:para>The columns on which the operation will be performed.</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>
        null
      </dev:defaultValue>
    </command:parameter>
      <command:parameter required="true"
  pipelineInput="true"
  position=0 >
      <maml:name>Connection</maml:name>
      <maml:description>
        <maml:para>The connection object.</maml:para>
      </maml:description>
      <command:parameterValue required="true" >
        DataConnection
      </command:parameterValue>
 
      <dev:type>
        <maml:name>System.String</maml:name>
        <maml:uri/>
      </dev:type>
      <dev:defaultValue>
        null
      </dev:defaultValue>
    </command:parameter>
      <command:parameter required="true"
  pipelineInput="true"
  position="named" >
      <maml:name>Table</maml:name>
      <maml:description>
        <maml:para>The table on which the operation will be performed.</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"
  pipelineInput="false"
  position="named" >
      <maml:name>Values</maml:name>
      <maml:description>
        <maml:para>The values that will be used to update the table.</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>
        null
      </dev:defaultValue>
    </command:parameter>
     
 
  </command:parameters>
 
  <!-- Input - Output section--> <command:inputTypes>
 
  </command:inputTypes>
 
  <command:returnValues>
      <command:returnValue>
      <dev:type>
        <maml:name>InsertedRowId</maml:name>
        <maml:uri />
        <maml:description>
          <maml:para>
            The unique Id of the inserted row.
          </maml:para>
        </maml:description>
      </dev:type>
      <maml:description>
        The unique Id of the inserted row.
      </maml:description>
    </command:returnValue>
   
  </command:returnValues>
 
  <command:terminatingErrors />
 
  <command:nonTerminatingErrors />
 
  <!-- Example section -->
 
  <command:examples />
 
  <!-- Link section --> <maml:relatedLinks>
    <maml:navigationLink>
      <maml:linkText></maml:linkText>
      <maml:uri/>
    </maml:navigationLink>
  </maml:relatedLinks>
</command:command>
<!-- Cmdlet --><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>
      Disconnect-MongoDB
    </command:name>
    <maml:description>
      <maml:para>Closes a connection to MongoDB.</maml:para>
    </maml:description>
    <maml:copyright>
      <maml:para>Copyright (c) 2017 CData Software, Inc. - All rights reserved.</maml:para>
    </maml:copyright>
    <command:verb>Disconnect</command:verb>
    <command:noun>MongoDB</command:noun>
    <dev:version>16.0</dev:version>
  </command:details>
   
  <maml:description>
    <maml:para>Closes a connection to MongoDB The Disconnect-MongoDB cmdlet is used to close a connection that was opened by the Connect-MongoDB cmdlet.</maml:para><maml:para>Disconnect-MongoDB -Connection $connection</maml:para><maml:para></maml:para><maml:para></maml:para>
  </maml:description>
   
  <!-- Cmdlet syntax section-->
  <command:syntax>
      <command:syntaxItem>
        <maml:name>Disconnect-MongoDB [parameters]</maml:name>
     
        <command:parameter required="true"
          pipelineInput="true"
          position="0">
          <maml:name>Connection</maml:name>
          <maml:description>
            <maml:para>The connection object.</maml:para>
          </maml:description>
          <command:parameterValue >
            DataConnection
          </command:parameterValue>
        </command:parameter>
 
      </command:syntaxItem>
    </command:syntax>
 
  <!-- Cmdlet parameter section -->
    <command:parameters>
  <command:parameter required="true"
  pipelineInput="true"
  position=0 >
      <maml:name>Connection</maml:name>
      <maml:description>
        <maml:para>The connection object.</maml:para>
      </maml:description>
      <command:parameterValue required="true" >
        DataConnection
      </command:parameterValue>
 
      <dev:type>
        <maml:name>System.String</maml:name>
        <maml:uri/>
      </dev:type>
      <dev:defaultValue>
        null
      </dev:defaultValue>
    </command:parameter>
     
 
  </command:parameters>
 
  <!-- Input - Output section--> <command:inputTypes>
 
  </command:inputTypes>
 
  <command:returnValues>
   
  </command:returnValues>
 
  <command:terminatingErrors />
 
  <command:nonTerminatingErrors />
 
  <!-- Example section -->
 
  <command:examples />
 
  <!-- Link section --> <maml:relatedLinks>
    <maml:navigationLink>
      <maml:linkText></maml:linkText>
      <maml:uri/>
    </maml:navigationLink>
  </maml:relatedLinks>
</command:command>
<!-- Cmdlet --><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-MongoDB
    </command:name>
    <maml:description>
      <maml:para>Searches and updates MongoDB data.</maml:para>
    </maml:description>
    <maml:copyright>
      <maml:para>Copyright (c) 2017 CData Software, Inc. - All rights reserved.</maml:para>
    </maml:copyright>
    <command:verb>Invoke</command:verb>
    <command:noun>MongoDB</command:noun>
    <dev:version>16.0</dev:version>
  </command:details>
   
  <maml:description>
    <maml:para>Searches and updates MongoDB data. The Invoke-MongoDB cmdlet allows you to use SQL statements to execute any SQL statement directly. Below is the syntax for a parameterized query:</maml:para><maml:para>$query = Invoke-MongoDB -Connection $connection -Query 'SELECT * FROM Customers WHERE Country=@Country' -Params @{'@Country'='US'}</maml:para><maml:para></maml:para><maml:para>This cmdlet is also useful for executing stored procedures. Use the EXEC keyword to call a stored procedure:</maml:para><maml:para></maml:para><maml:para>$query = Invoke-MongoDB -Connection $connection -Query 'EXEC EVAL jsFunction = @exStoredProcInput;' -Params @{"function () { return db.restaurants.findOne(); }"'</maml:para><maml:para></maml:para><maml:para></maml:para>
  </maml:description>
   
  <!-- Cmdlet syntax section-->
  <command:syntax>
      <command:syntaxItem>
        <maml:name>Invoke-MongoDB [parameters]</maml:name>
     
        <command:parameter required="true"
          pipelineInput="true"
          position="0">
          <maml:name>Connection</maml:name>
          <maml:description>
            <maml:para>The connection object.</maml:para>
          </maml:description>
          <command:parameterValue >
            DataConnection
          </command:parameterValue>
        </command:parameter>
     
        <command:parameter required="false"
          pipelineInput="false"
          position="named">
          <maml:name>Params</maml:name>
          <maml:description>
            <maml:para>The parameters that will be used for the query.</maml:para>
          </maml:description>
          <command:parameterValue >
            Hashtable
          </command:parameterValue>
        </command:parameter>
     
        <command:parameter required="true"
          pipelineInput="false"
          position="named">
          <maml:name>Query</maml:name>
          <maml:description>
            <maml:para>The SQL query to execute.</maml:para>
          </maml:description>
          <command:parameterValue >
            string
          </command:parameterValue>
        </command:parameter>
 
      </command:syntaxItem>
    </command:syntax>
 
  <!-- Cmdlet parameter section -->
    <command:parameters>
  <command:parameter required="true"
  pipelineInput="true"
  position=0 >
      <maml:name>Connection</maml:name>
      <maml:description>
        <maml:para>The connection object.</maml:para>
      </maml:description>
      <command:parameterValue required="true" >
        DataConnection
      </command:parameterValue>
 
      <dev:type>
        <maml:name>System.String</maml:name>
        <maml:uri/>
      </dev:type>
      <dev:defaultValue>
        null
      </dev:defaultValue>
    </command:parameter>
      <command:parameter
  pipelineInput="false"
  position="named" >
      <maml:name>Params</maml:name>
      <maml:description>
        <maml:para>The parameters that will be used for the query.</maml:para>
      </maml:description>
      <command:parameterValue >
        Hashtable
      </command:parameterValue>
 
      <dev:type>
        <maml:name>System.String</maml:name>
        <maml:uri/>
      </dev:type>
      <dev:defaultValue>
        null
      </dev:defaultValue>
    </command:parameter>
      <command:parameter required="true"
  pipelineInput="false"
  position="named" >
      <maml:name>Query</maml:name>
      <maml:description>
        <maml:para>The SQL query to execute.</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:parameters>
 
  <!-- Input - Output section--> <command:inputTypes>
 
  </command:inputTypes>
 
  <command:returnValues>
      <command:returnValue>
      <dev:type>
        <maml:name>AffectedRowsCount</maml:name>
        <maml:uri />
        <maml:description>
          <maml:para>
            The number of rows affected by the operation.
          </maml:para>
        </maml:description>
      </dev:type>
      <maml:description>
        The number of rows affected by the operation.
      </maml:description>
    </command:returnValue>
      <command:returnValue>
      <dev:type>
        <maml:name>InsertedRowId</maml:name>
        <maml:uri />
        <maml:description>
          <maml:para>
            The unique Id of the inserted row.
          </maml:para>
        </maml:description>
      </dev:type>
      <maml:description>
        The unique Id of the inserted row.
      </maml:description>
    </command:returnValue>
      <command:returnValue>
      <dev:type>
        <maml:name>QueryResults</maml:name>
        <maml:uri />
        <maml:description>
          <maml:para>
            The results of the query.
          </maml:para>
        </maml:description>
      </dev:type>
      <maml:description>
        The results of the query.
      </maml:description>
    </command:returnValue>
   
  </command:returnValues>
 
  <command:terminatingErrors />
 
  <command:nonTerminatingErrors />
 
  <!-- Example section -->
 
  <command:examples />
 
  <!-- Link section --> <maml:relatedLinks>
    <maml:navigationLink>
      <maml:linkText></maml:linkText>
      <maml:uri/>
    </maml:navigationLink>
  </maml:relatedLinks>
</command:command>
<!-- Cmdlet --><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>
      Remove-MongoDB
    </command:name>
    <maml:description>
      <maml:para>Deletes MongoDB data.</maml:para>
    </maml:description>
    <maml:copyright>
      <maml:para>Copyright (c) 2017 CData Software, Inc. - All rights reserved.</maml:para>
    </maml:copyright>
    <command:verb>Remove</command:verb>
    <command:noun>MongoDB</command:noun>
    <dev:version>16.0</dev:version>
  </command:details>
   
  <maml:description>
    <maml:para>Deletes MongoDB data. The Remove-MongoDB cmdlet allows you to use a syntax similar to SQL DELETE statements to delete MongoDB data.</maml:para><maml:para>$conn = Connect-MongoDB -Server '127.0.0.1' -Port 27017 -Database 'test' -User 'test' -Password 'test'</maml:para><maml:para>Remove-MongoDB -Connection $conn -Table "Customers" -Id "22"</maml:para><maml:para></maml:para><maml:para>The Where parameter can also be used to specify the primary key:</maml:para><maml:para></maml:para><maml:para>Remove-MongoDB -Connection $conn -Table "exTable;" -Where "_id = 22"</maml:para><maml:para></maml:para><maml:para>The primary key can also be passed to the cmdlet along the pipeline:</maml:para><maml:para></maml:para><maml:para>Select-MongoDB -Connection $conn -Table Customers -Where "Country = 'US'" | Remove-MongoDB</maml:para><maml:para></maml:para><maml:para></maml:para>
  </maml:description>
   
  <!-- Cmdlet syntax section-->
  <command:syntax>
      <command:syntaxItem>
        <maml:name>Remove-MongoDB [parameters]</maml:name>
     
        <command:parameter required="true"
          pipelineInput="true"
          position="0">
          <maml:name>Connection</maml:name>
          <maml:description>
            <maml:para>The connection object.</maml:para>
          </maml:description>
          <command:parameterValue >
            DataConnection
          </command:parameterValue>
        </command:parameter>
     
        <command:parameter required="false"
          pipelineInput="true"
          position="named">
          <maml:name>Id</maml:name>
          <maml:description>
            <maml:para>The Id of the item on which the operation will be performed.</maml:para>
          </maml:description>
          <command:parameterValue >
            string
          </command:parameterValue>
        </command:parameter>
     
        <command:parameter required="true"
          pipelineInput="true"
          position="named">
          <maml:name>Table</maml:name>
          <maml:description>
            <maml:para>The table on which the operation will be performed.</maml:para>
          </maml:description>
          <command:parameterValue >
            string
          </command:parameterValue>
        </command:parameter>
     
        <command:parameter required="false"
          pipelineInput="false"
          position="named">
          <maml:name>Where</maml:name>
          <maml:description>
            <maml:para>The SQL WHERE clause that will be used for the operation.</maml:para>
          </maml:description>
          <command:parameterValue >
            string
          </command:parameterValue>
        </command:parameter>
 
      </command:syntaxItem>
    </command:syntax>
 
  <!-- Cmdlet parameter section -->
    <command:parameters>
  <command:parameter required="true"
  pipelineInput="true"
  position=0 >
      <maml:name>Connection</maml:name>
      <maml:description>
        <maml:para>The connection object.</maml:para>
      </maml:description>
      <command:parameterValue required="true" >
        DataConnection
      </command:parameterValue>
 
      <dev:type>
        <maml:name>System.String</maml:name>
        <maml:uri/>
      </dev:type>
      <dev:defaultValue>
        null
      </dev:defaultValue>
    </command:parameter>
      <command:parameter
  pipelineInput="true"
  position="named" >
      <maml:name>Id</maml:name>
      <maml:description>
        <maml:para>The Id of the item on which the operation will be performed.</maml:para>
      </maml:description>
      <command:parameterValue >
        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"
  pipelineInput="true"
  position="named" >
      <maml:name>Table</maml:name>
      <maml:description>
        <maml:para>The table on which the operation will be performed.</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
  pipelineInput="false"
  position="named" >
      <maml:name>Where</maml:name>
      <maml:description>
        <maml:para>The SQL WHERE clause that will be used for the operation.</maml:para>
      </maml:description>
      <command:parameterValue >
        string
      </command:parameterValue>
 
      <dev:type>
        <maml:name>System.String</maml:name>
        <maml:uri/>
      </dev:type>
      <dev:defaultValue>
        ""
      </dev:defaultValue>
    </command:parameter>
     
 
  </command:parameters>
 
  <!-- Input - Output section--> <command:inputTypes>
 
  </command:inputTypes>
 
  <command:returnValues>
      <command:returnValue>
      <dev:type>
        <maml:name>AffectedRowsCount</maml:name>
        <maml:uri />
        <maml:description>
          <maml:para>
            The number of rows affected by the operation.
          </maml:para>
        </maml:description>
      </dev:type>
      <maml:description>
        The number of rows affected by the operation.
      </maml:description>
    </command:returnValue>
   
  </command:returnValues>
 
  <command:terminatingErrors />
 
  <command:nonTerminatingErrors />
 
  <!-- Example section -->
 
  <command:examples />
 
  <!-- Link section --> <maml:relatedLinks>
    <maml:navigationLink>
      <maml:linkText></maml:linkText>
      <maml:uri/>
    </maml:navigationLink>
  </maml:relatedLinks>
</command:command>
<!-- Cmdlet --><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>
      Connect-MongoDB
    </command:name>
    <maml:description>
      <maml:para>Opens a new connection to MongoDB</maml:para>
    </maml:description>
    <maml:copyright>
      <maml:para>Copyright (c) 2017 CData Software, Inc. - All rights reserved.</maml:para>
    </maml:copyright>
    <command:verb>Connect</command:verb>
    <command:noun>MongoDB</command:noun>
    <dev:version>16.0</dev:version>
  </command:details>
   
  <maml:description>
    <maml:para>The Connect-MongoDB cmdlet is used to create a persistent connection object to be used with related cmdlets. When executing the cmdlet a connection object is returned. Pass this object to the Connection parameter of related cmdlets to use the newly created connection object. To disconnect, call Disconnect-MongoDB.</maml:para>
  </maml:description>
   
  <!-- Cmdlet syntax section-->
  <command:syntax>
      <command:syntaxItem>
        <maml:name>$conn = Connect-MongoDB</maml:name>
     
        <command:parameter required="false"
          pipelineInput="false"
          position="named">
          <maml:name>AuthDatabase</maml:name>
          <maml:description>
            <maml:para>The name of the MongoDB database for authentication.</maml:para>
          </maml:description>
          <command:parameterValue >
            string
          </command:parameterValue>
        </command:parameter>
     
        <command:parameter required="false"
          pipelineInput="false"
          position="named">
          <maml:name>AuthMechanism</maml:name>
          <maml:description>
            <maml:para>The authentication mechanism that MongoDB will use to authenticate the connection.</maml:para>
          </maml:description>
          <command:parameterValue >
            string
          </command:parameterValue>
        </command:parameter>
     
        <command:parameter required="false"
          pipelineInput="false"
          position="named">
          <maml:name>AutoCache</maml:name>
          <maml:description>
            <maml:para>Persists the results of SELECT queries, allowing real-time reporting while online and offline use.</maml:para>
          </maml:description>
          <command:parameterValue >
            SwitchParameter
          </command:parameterValue>
        </command:parameter>
     
        <command:parameter required="false"
          pipelineInput="false"
          position="named">
          <maml:name>CacheConnection</maml:name>
          <maml:description>
            <maml:para>The connection string for the cache database.</maml:para>
          </maml:description>
          <command:parameterValue >
            string
          </command:parameterValue>
        </command:parameter>
     
        <command:parameter required="false"
          pipelineInput="false"
          position="named">
          <maml:name>CacheLocation</maml:name>
          <maml:description>
            <maml:para>Specifies the path to the cache when caching to a file.</maml:para>
          </maml:description>
          <command:parameterValue >
            string
          </command:parameterValue>
        </command:parameter>
     
        <command:parameter required="false"
          pipelineInput="false"
          position="named">
          <maml:name>CacheMetadata</maml:name>
          <maml:description>
            <maml:para>Whether or not to cache the table metadata. The cache will be stored in memory unless CacheConnection or CacheLocation are set.</maml:para>
          </maml:description>
          <command:parameterValue >
            SwitchParameter
          </command:parameterValue>
        </command:parameter>
     
        <command:parameter required="false"
          pipelineInput="false"
          position="named">
          <maml:name>CacheProvider</maml:name>
          <maml:description>
            <maml:para>The name of the provider to be used to cache data.</maml:para>
          </maml:description>
          <command:parameterValue >
            string
          </command:parameterValue>
        </command:parameter>
     
        <command:parameter required="true"
          pipelineInput="false"
          position="named">
          <maml:name>Database</maml:name>
          <maml:description>
            <maml:para>The name of the MongoDB database.</maml:para>
          </maml:description>
          <command:parameterValue >
            string
          </command:parameterValue>
        </command:parameter>
     
        <command:parameter required="false"
          pipelineInput="false"
          position="named">
          <maml:name>FirewallPassword</maml:name>
          <maml:description>
            <maml:para>A password, if authentication is required to connect through a firewall.</maml:para>
          </maml:description>
          <command:parameterValue >
            string
          </command:parameterValue>
        </command:parameter>
     
        <command:parameter required="false"
          pipelineInput="false"
          position="named">
          <maml:name>FirewallPort</maml:name>
          <maml:description>
            <maml:para>The TCP port for the firewall FirewallServer -- see the description of the FirewallServer option for details.</maml:para>
          </maml:description>
          <command:parameterValue >
            string
          </command:parameterValue>
        </command:parameter>
     
        <command:parameter required="false"
          pipelineInput="false"
          position="named">
          <maml:name>FirewallServer</maml:name>
          <maml:description>
            <maml:para>Specify a firewall name or IP address to authenticate requested connections, if necessary.</maml:para>
          </maml:description>
          <command:parameterValue >
            string
          </command:parameterValue>
        </command:parameter>
     
        <command:parameter required="false"
          pipelineInput="false"
          position="named">
          <maml:name>FirewallType</maml:name>
          <maml:description>
            <maml:para>The type of firewall to connect through.</maml:para>
          </maml:description>
          <command:parameterValue >
            string
          </command:parameterValue>
        </command:parameter>
     
        <command:parameter required="false"
          pipelineInput="false"
          position="named">
          <maml:name>FirewallUser</maml:name>
          <maml:description>
            <maml:para>The user name to authenticate with the firewall.</maml:para>
          </maml:description>
          <command:parameterValue >
            string
          </command:parameterValue>
        </command:parameter>
     
        <command:parameter required="false"
          pipelineInput="false"
          position="named">
          <maml:name>FlattenArrays</maml:name>
          <maml:description>
            <maml:para>By default, nested arrays are returned as strings of JSON. The FlattenArrays property can be used to flatten the elements of nested arrays into columns of their own. Set FlattenArrays to the number of elements you want to return from nested arrays.</maml:para>
          </maml:description>
          <command:parameterValue >
            string
          </command:parameterValue>
        </command:parameter>
     
        <command:parameter required="false"
          pipelineInput="false"
          position="named">
          <maml:name>FlattenObjects</maml:name>
          <maml:description>
            <maml:para>By default, nested objects are returned as strings of JSON. When FlattenObjects is set to true, object properties are flattened into columns of their own.</maml:para>
          </maml:description>
          <command:parameterValue >
            bool
          </command:parameterValue>
        </command:parameter>
     
        <command:parameter required="false"
          pipelineInput="false"
          position="named">
          <maml:name>GenerateSchemaFiles</maml:name>
          <maml:description>
            <maml:para>Indicates the user preference as to when schemas should be generated and saved.</maml:para>
          </maml:description>
          <command:parameterValue >
            string
          </command:parameterValue>
        </command:parameter>
     
        <command:parameter required="false"
          pipelineInput="false"
          position="named">
          <maml:name>Location</maml:name>
          <maml:description>
            <maml:para>A path to the directory that contains the schema files defining tables, views, and stored procedures.</maml:para>
          </maml:description>
          <command:parameterValue >
            string
          </command:parameterValue>
        </command:parameter>
     
        <command:parameter required="false"
          pipelineInput="false"
          position="named">
          <maml:name>Logfile</maml:name>
          <maml:description>
            <maml:para>A path to the log file.</maml:para>
          </maml:description>
          <command:parameterValue >
            string
          </command:parameterValue>
        </command:parameter>
     
        <command:parameter required="false"
          pipelineInput="false"
          position="named">
          <maml:name>MaxLogFileSize</maml:name>
          <maml:description>
            <maml:para>A string specifying the maximum size in bytes for a log file (ex: 10MB). When the limit is hit, a new log is created in the same folder with the date and time appended to the end.</maml:para>
          </maml:description>
          <command:parameterValue >
            string
          </command:parameterValue>
        </command:parameter>
     
        <command:parameter required="false"
          pipelineInput="false"
          position="named">
          <maml:name>MaxResults</maml:name>
          <maml:description>
            <maml:para>The number of rows to return per query. -1 means unlimited. This property will have no effect if LIMIT is specified.</maml:para>
          </maml:description>
          <command:parameterValue >
            string
          </command:parameterValue>
        </command:parameter>
     
        <command:parameter required="false"
          pipelineInput="false"
          position="named">
          <maml:name>Offline</maml:name>
          <maml:description>
            <maml:para>Use offline mode to get the data from the cache instead of the live source.</maml:para>
          </maml:description>
          <command:parameterValue >
            SwitchParameter
          </command:parameterValue>
        </command:parameter>
     
        <command:parameter required="false"
          pipelineInput="false"
          position="named">
          <maml:name>Other</maml:name>
          <maml:description>
            <maml:para>The other parameters necessary to connect to a data source, such as username and password, when applicable.</maml:para>
          </maml:description>
          <command:parameterValue >
            string
          </command:parameterValue>
        </command:parameter>
     
        <command:parameter required="false"
          pipelineInput="false"
          position="named">
          <maml:name>Password</maml:name>
          <maml:description>
            <maml:para>The password used to authenticate with MongoDB.</maml:para>
          </maml:description>
          <command:parameterValue >
            string
          </command:parameterValue>
        </command:parameter>
     
        <command:parameter required="true"
          pipelineInput="false"
          position="named">
          <maml:name>Port</maml:name>
          <maml:description>
            <maml:para>The port for the MongoDB database.</maml:para>
          </maml:description>
          <command:parameterValue >
            string
          </command:parameterValue>
        </command:parameter>
     
        <command:parameter required="false"
          pipelineInput="false"
          position="named">
          <maml:name>ProxyAuthScheme</maml:name>
          <maml:description>
            <maml:para>The proxy server authorization scheme (default: BASIC).</maml:para>
          </maml:description>
          <command:parameterValue >
            string
          </command:parameterValue>
        </command:parameter>
     
        <command:parameter required="false"
          pipelineInput="false"
          position="named">
          <maml:name>ProxyAutoDetect</maml:name>
          <maml:description>
            <maml:para>This indicates whether to use the default system proxy settings or not. Set ProxyAutoDetect to FALSE to use custom proxy settings. This takes precedence over other proxy settings.</maml:para>
          </maml:description>
          <command:parameterValue >
            bool
          </command:parameterValue>
        </command:parameter>
     
        <command:parameter required="false"
          pipelineInput="false"
          position="named">
          <maml:name>ProxyPassword</maml:name>
          <maml:description>
            <maml:para>A password, if authenticating with a proxy server.</maml:para>
          </maml:description>
          <command:parameterValue >
            string
          </command:parameterValue>
        </command:parameter>
     
        <command:parameter required="false"
          pipelineInput="false"
          position="named">
          <maml:name>ProxyPort</maml:name>
          <maml:description>
            <maml:para>The TCP port for the proxy ProxyServer (default: 80).</maml:para>
          </maml:description>
          <command:parameterValue >
            string
          </command:parameterValue>
        </command:parameter>
     
        <command:parameter required="false"
          pipelineInput="false"
          position="named">
          <maml:name>ProxyServer</maml:name>
          <maml:description>
            <maml:para>If a proxy server is given, then the HTTP request is sent to the proxy instead of the specified server.</maml:para>
          </maml:description>
          <command:parameterValue >
            string
          </command:parameterValue>
        </command:parameter>
     
        <command:parameter required="false"
          pipelineInput="false"
          position="named">
          <maml:name>ProxySSLType</maml:name>
          <maml:description>
            <maml:para>The SSL type to use when connecting to the proxy server (default: AUTO).</maml:para>
          </maml:description>
          <command:parameterValue >
            string
          </command:parameterValue>
        </command:parameter>
     
        <command:parameter required="false"
          pipelineInput="false"
          position="named">
          <maml:name>ProxyUser</maml:name>
          <maml:description>
            <maml:para>A user name, if authentication is to be used for the proxy.</maml:para>
          </maml:description>
          <command:parameterValue >
            string
          </command:parameterValue>
        </command:parameter>
     
        <command:parameter required="false"
          pipelineInput="false"
          position="named">
          <maml:name>PseudoColumns</maml:name>
          <maml:description>
            <maml:para>Indicates whether or not to include pseudo columns as columns to the table.</maml:para>
          </maml:description>
          <command:parameterValue >
            string
          </command:parameterValue>
        </command:parameter>
     
        <command:parameter required="false"
          pipelineInput="false"
          position="named">
          <maml:name>QueryCache</maml:name>
          <maml:description>
            <maml:para>The time duration, in seconds, for which the in-memory cached data is reused.</maml:para>
          </maml:description>
          <command:parameterValue >
            string
          </command:parameterValue>
        </command:parameter>
     
        <command:parameter required="false"
          pipelineInput="false"
          position="named">
          <maml:name>QueryPassthrough</maml:name>
          <maml:description>
            <maml:para>This option passes the query to MongoDB as-is.</maml:para>
          </maml:description>
          <command:parameterValue >
            SwitchParameter
          </command:parameterValue>
        </command:parameter>
     
        <command:parameter required="false"
          pipelineInput="false"
          position="named">
          <maml:name>Readonly</maml:name>
          <maml:description>
            <maml:para>You can use this property to enforce read-only access to MongoDB from the provider.</maml:para>
          </maml:description>
          <command:parameterValue >
            SwitchParameter
          </command:parameterValue>
        </command:parameter>
     
        <command:parameter required="false"
          pipelineInput="false"
          position="named">
          <maml:name>ReadPreference</maml:name>
          <maml:description>
            <maml:para>Set this property to specify the read preference mode. Accepted values are primary, primaryPreferred, secondary, secondaryPreferred, and nearest.</maml:para>
          </maml:description>
          <command:parameterValue >
            string
          </command:parameterValue>
        </command:parameter>
     
        <command:parameter required="false"
          pipelineInput="false"
          position="named">
          <maml:name>ReplicaSet</maml:name>
          <maml:description>
            <maml:para>This property allows you to specify multiple servers in addition to the one configured in Server and Port . Specify both a server name and port; separate servers with a comma.</maml:para>
          </maml:description>
          <command:parameterValue >
            string
          </command:parameterValue>
        </command:parameter>
     
        <command:parameter required="false"
          pipelineInput="false"
          position="named">
          <maml:name>RowScanDepth</maml:name>
          <maml:description>
            <maml:para>The maximum number of rows to scan to look for the columns available in a table. Set this property to gain more control over how the provider applies data types to collections.</maml:para>
          </maml:description>
          <command:parameterValue >
            string
          </command:parameterValue>
        </command:parameter>
     
        <command:parameter required="true"
          pipelineInput="false"
          position="named">
          <maml:name>Server</maml:name>
          <maml:description>
            <maml:para>The host name or IP address of the server hosting the MongoDB database.</maml:para>
          </maml:description>
          <command:parameterValue >
            string
          </command:parameterValue>
        </command:parameter>
     
        <command:parameter required="false"
          pipelineInput="false"
          position="named">
          <maml:name>SlaveOK</maml:name>
          <maml:description>
            <maml:para>This property sets whether the provider is allowed to read from secondary (slave) servers.</maml:para>
          </maml:description>
          <command:parameterValue >
            SwitchParameter
          </command:parameterValue>
        </command:parameter>
     
        <command:parameter required="false"
          pipelineInput="false"
          position="named">
          <maml:name>SSLServerCert</maml:name>
          <maml:description>
            <maml:para>The certificate to be accepted from the server when connecting using TLS/SSL.</maml:para>
          </maml:description>
          <command:parameterValue >
            string
          </command:parameterValue>
        </command:parameter>
     
        <command:parameter required="false"
          pipelineInput="false"
          position="named">
          <maml:name>SupportEnhancedSQL</maml:name>
          <maml:description>
            <maml:para>If set to true, the provider will cache the entire table in memory and issue the current query against the memory cache. Allows queries with aggregate functions that are otherwise unsupported. The entire memory cache is discarded after the query is executed, unlike QueryCache.</maml:para>
          </maml:description>
          <command:parameterValue >
            bool
          </command:parameterValue>
        </command:parameter>
     
        <command:parameter required="false"
          pipelineInput="false"
          position="named">
          <maml:name>Tables</maml:name>
          <maml:description>
            <maml:para>Comma-separated list of tables to be listed. For example: Tables=TableA,TableB,TableC.</maml:para>
          </maml:description>
          <command:parameterValue >
            string
          </command:parameterValue>
        </command:parameter>
     
        <command:parameter required="false"
          pipelineInput="false"
          position="named">
          <maml:name>Timeout</maml:name>
          <maml:description>
            <maml:para>The value in seconds until the timeout error is thrown, canceling the operation.</maml:para>
          </maml:description>
          <command:parameterValue >
            string
          </command:parameterValue>
        </command:parameter>
     
        <command:parameter required="false"
          pipelineInput="false"
          position="named">
          <maml:name>TypeDetectionScheme</maml:name>
          <maml:description>
            <maml:para>Comma separated options for how the provider will scan the data to determine the fields and datatypes in each document collection.</maml:para>
          </maml:description>
          <command:parameterValue >
            string
          </command:parameterValue>
        </command:parameter>
     
        <command:parameter required="false"
          pipelineInput="false"
          position="named">
          <maml:name>User</maml:name>
          <maml:description>
            <maml:para>The username used to authenticate with MongoDB.</maml:para>
          </maml:description>
          <command:parameterValue >
            string
          </command:parameterValue>
        </command:parameter>
     
        <command:parameter required="false"
          pipelineInput="false"
          position="named">
          <maml:name>UseSSL</maml:name>
          <maml:description>
            <maml:para>This field sets whether SSL is enabled.</maml:para>
          </maml:description>
          <command:parameterValue >
            SwitchParameter
          </command:parameterValue>
        </command:parameter>
     
        <command:parameter required="false"
          pipelineInput="false"
          position="named">
          <maml:name>Verbosity</maml:name>
          <maml:description>
            <maml:para>The verbosity level that determines the amount of detail included in the log file.</maml:para>
          </maml:description>
          <command:parameterValue >
            string
          </command:parameterValue>
        </command:parameter>
 
      </command:syntaxItem>
    </command:syntax>
 
  <!-- Cmdlet parameter section -->
    <command:parameters>
  <command:parameter >
      <maml:name>AuthDatabase</maml:name>
      <maml:description>
        <maml:para>The name of the MongoDB database for authentication.</maml:para>
      </maml:description>
      <command:parameterValue >
        string
      </command:parameterValue>
 
      <dev:type>
        <maml:name>System.String</maml:name>
        <maml:uri/>
      </dev:type>
      <dev:defaultValue>
        ""
      </dev:defaultValue>
    </command:parameter>
      <command:parameter >
      <maml:name>AuthMechanism</maml:name>
      <maml:description>
        <maml:para>The authentication mechanism that MongoDB will use to authenticate the connection.</maml:para>
      </maml:description>
      <command:parameterValue >
        string
      </command:parameterValue>
      <dev:possibleValues>
        <dev:possibleValue>
          <dev:value>MONGODB-CR</dev:value>
        </dev:possibleValue>
        <dev:possibleValue>
          <dev:value>SCRAM-SHA-1</dev:value>
        </dev:possibleValue>
        <dev:possibleValue>
          <dev:value>PLAIN</dev:value>
        </dev:possibleValue>
        <dev:possibleValue>
          <dev:value>NONE</dev:value>
        </dev:possibleValue>
   
      </dev:possibleValues>
       
      <dev:type>
        <maml:name>System.String</maml:name>
        <maml:uri/>
      </dev:type>
      <dev:defaultValue>
        "NONE"
      </dev:defaultValue>
    </command:parameter>
      <command:parameter >
      <maml:name>AutoCache</maml:name>
      <maml:description>
        <maml:para>Persists the results of SELECT queries, allowing real-time reporting while online and offline use.</maml:para>
      </maml:description>
      <command:parameterValue >
        SwitchParameter
      </command:parameterValue>
 
      <dev:type>
        <maml:name>System.String</maml:name>
        <maml:uri/>
      </dev:type>
      <dev:defaultValue>
        false
      </dev:defaultValue>
    </command:parameter>
      <command:parameter >
      <maml:name>CacheConnection</maml:name>
      <maml:description>
        <maml:para>The connection string for the cache database.</maml:para>
      </maml:description>
      <command:parameterValue >
        string
      </command:parameterValue>
 
      <dev:type>
        <maml:name>System.String</maml:name>
        <maml:uri/>
      </dev:type>
      <dev:defaultValue>
        ""
      </dev:defaultValue>
    </command:parameter>
      <command:parameter >
      <maml:name>CacheLocation</maml:name>
      <maml:description>
        <maml:para>Specifies the path to the cache when caching to a file.</maml:para>
      </maml:description>
      <command:parameterValue >
        string
      </command:parameterValue>
 
      <dev:type>
        <maml:name>System.String</maml:name>
        <maml:uri/>
      </dev:type>
      <dev:defaultValue>
        ""
      </dev:defaultValue>
    </command:parameter>
      <command:parameter >
      <maml:name>CacheMetadata</maml:name>
      <maml:description>
        <maml:para>Whether or not to cache the table metadata. The cache will be stored in memory unless CacheConnection or CacheLocation are set.</maml:para>
      </maml:description>
      <command:parameterValue >
        SwitchParameter
      </command:parameterValue>
 
      <dev:type>
        <maml:name>System.String</maml:name>
        <maml:uri/>
      </dev:type>
      <dev:defaultValue>
        false
      </dev:defaultValue>
    </command:parameter>
      <command:parameter >
      <maml:name>CacheProvider</maml:name>
      <maml:description>
        <maml:para>The name of the provider to be used to cache data.</maml:para>
      </maml:description>
      <command:parameterValue >
        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">
      <maml:name>Database</maml:name>
      <maml:description>
        <maml:para>The name of the MongoDB 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>
      <command:parameter >
      <maml:name>FirewallPassword</maml:name>
      <maml:description>
        <maml:para>A password, if authentication is required to connect through a firewall.</maml:para>
      </maml:description>
      <command:parameterValue >
        string
      </command:parameterValue>
 
      <dev:type>
        <maml:name>System.String</maml:name>
        <maml:uri/>
      </dev:type>
      <dev:defaultValue>
        ""
      </dev:defaultValue>
    </command:parameter>
      <command:parameter >
      <maml:name>FirewallPort</maml:name>
      <maml:description>
        <maml:para>The TCP port for the firewall FirewallServer -- see the description of the FirewallServer option for details.</maml:para>
      </maml:description>
      <command:parameterValue >
        string
      </command:parameterValue>
 
      <dev:type>
        <maml:name>System.String</maml:name>
        <maml:uri/>
      </dev:type>
      <dev:defaultValue>
        ""
      </dev:defaultValue>
    </command:parameter>
      <command:parameter >
      <maml:name>FirewallServer</maml:name>
      <maml:description>
        <maml:para>Specify a firewall name or IP address to authenticate requested connections, if necessary.</maml:para>
      </maml:description>
      <command:parameterValue >
        string
      </command:parameterValue>
 
      <dev:type>
        <maml:name>System.String</maml:name>
        <maml:uri/>
      </dev:type>
      <dev:defaultValue>
        ""
      </dev:defaultValue>
    </command:parameter>
      <command:parameter >
      <maml:name>FirewallType</maml:name>
      <maml:description>
        <maml:para>The type of firewall to connect through.</maml:para>
      </maml:description>
      <command:parameterValue >
        string
      </command:parameterValue>
      <dev:possibleValues>
        <dev:possibleValue>
          <dev:value>NONE</dev:value>
        </dev:possibleValue>
        <dev:possibleValue>
          <dev:value>TUNNEL</dev:value>
        </dev:possibleValue>
        <dev:possibleValue>
          <dev:value>SOCKS4</dev:value>
        </dev:possibleValue>
        <dev:possibleValue>
          <dev:value>SOCKS5</dev:value>
        </dev:possibleValue>
   
      </dev:possibleValues>
       
      <dev:type>
        <maml:name>System.String</maml:name>
        <maml:uri/>
      </dev:type>
      <dev:defaultValue>
        "NONE"
      </dev:defaultValue>
    </command:parameter>
      <command:parameter >
      <maml:name>FirewallUser</maml:name>
      <maml:description>
        <maml:para>The user name to authenticate with the firewall.</maml:para>
      </maml:description>
      <command:parameterValue >
        string
      </command:parameterValue>
 
      <dev:type>
        <maml:name>System.String</maml:name>
        <maml:uri/>
      </dev:type>
      <dev:defaultValue>
        ""
      </dev:defaultValue>
    </command:parameter>
      <command:parameter >
      <maml:name>FlattenArrays</maml:name>
      <maml:description>
        <maml:para>By default, nested arrays are returned as strings of JSON. The FlattenArrays property can be used to flatten the elements of nested arrays into columns of their own. Set FlattenArrays to the number of elements you want to return from nested arrays.</maml:para>
      </maml:description>
      <command:parameterValue >
        string
      </command:parameterValue>
 
      <dev:type>
        <maml:name>System.String</maml:name>
        <maml:uri/>
      </dev:type>
      <dev:defaultValue>
        ""
      </dev:defaultValue>
    </command:parameter>
      <command:parameter >
      <maml:name>FlattenObjects</maml:name>
      <maml:description>
        <maml:para>By default, nested objects are returned as strings of JSON. When FlattenObjects is set to true, object properties are flattened into columns of their own.</maml:para>
      </maml:description>
      <command:parameterValue >
        bool
      </command:parameterValue>
 
      <dev:type>
        <maml:name>System.String</maml:name>
        <maml:uri/>
      </dev:type>
      <dev:defaultValue>
        true
      </dev:defaultValue>
    </command:parameter>
      <command:parameter >
      <maml:name>GenerateSchemaFiles</maml:name>
      <maml:description>
        <maml:para>Indicates the user preference as to when schemas should be generated and saved.</maml:para>
      </maml:description>
      <command:parameterValue >
        string
      </command:parameterValue>
      <dev:possibleValues>
        <dev:possibleValue>
          <dev:value>Never</dev:value>
        </dev:possibleValue>
        <dev:possibleValue>
          <dev:value>OnUse</dev:value>
        </dev:possibleValue>
        <dev:possibleValue>
          <dev:value>OnStart</dev:value>
        </dev:possibleValue>
   
      </dev:possibleValues>
       
      <dev:type>
        <maml:name>System.String</maml:name>
        <maml:uri/>
      </dev:type>
      <dev:defaultValue>
        "Never"
      </dev:defaultValue>
    </command:parameter>
      <command:parameter >
      <maml:name>Location</maml:name>
      <maml:description>
        <maml:para>A path to the directory that contains the schema files defining tables, views, and stored procedures.</maml:para>
      </maml:description>
      <command:parameterValue >
        string
      </command:parameterValue>
 
      <dev:type>
        <maml:name>System.String</maml:name>
        <maml:uri/>
      </dev:type>
      <dev:defaultValue>
        ""
      </dev:defaultValue>
    </command:parameter>
      <command:parameter >
      <maml:name>Logfile</maml:name>
      <maml:description>
        <maml:para>A path to the log file.</maml:para>
      </maml:description>
      <command:parameterValue >
        string
      </command:parameterValue>
 
      <dev:type>
        <maml:name>System.String</maml:name>
        <maml:uri/>
      </dev:type>
      <dev:defaultValue>
        ""
      </dev:defaultValue>
    </command:parameter>
      <command:parameter >
      <maml:name>MaxLogFileSize</maml:name>
      <maml:description>
        <maml:para>A string specifying the maximum size in bytes for a log file (ex: 10MB). When the limit is hit, a new log is created in the same folder with the date and time appended to the end.</maml:para>
      </maml:description>
      <command:parameterValue >
        string
      </command:parameterValue>
 
      <dev:type>
        <maml:name>System.String</maml:name>
        <maml:uri/>
      </dev:type>
      <dev:defaultValue>
        ""
      </dev:defaultValue>
    </command:parameter>
      <command:parameter >
      <maml:name>MaxResults</maml:name>
      <maml:description>
        <maml:para>The number of rows to return per query. -1 means unlimited. This property will have no effect if LIMIT is specified.</maml:para>
      </maml:description>
      <command:parameterValue >
        string
      </command:parameterValue>
 
      <dev:type>
        <maml:name>System.String</maml:name>
        <maml:uri/>
      </dev:type>
      <dev:defaultValue>
        "-1"
      </dev:defaultValue>
    </command:parameter>
      <command:parameter >
      <maml:name>Offline</maml:name>
      <maml:description>
        <maml:para>Use offline mode to get the data from the cache instead of the live source.</maml:para>
      </maml:description>
      <command:parameterValue >
        SwitchParameter
      </command:parameterValue>
 
      <dev:type>
        <maml:name>System.String</maml:name>
        <maml:uri/>
      </dev:type>
      <dev:defaultValue>
        false
      </dev:defaultValue>
    </command:parameter>
      <command:parameter >
      <maml:name>Other</maml:name>
      <maml:description>
        <maml:para>The other parameters necessary to connect to a data source, such as username and password, when applicable.</maml:para>
      </maml:description>
      <command:parameterValue >
        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">
      <maml:name>Password</maml:name>
      <maml:description>
        <maml:para>The password used to authenticate with MongoDB.</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">
      <maml:name>Port</maml:name>
      <maml:description>
        <maml:para>The port for the MongoDB 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>
        "27017"
      </dev:defaultValue>
    </command:parameter>
      <command:parameter >
      <maml:name>ProxyAuthScheme</maml:name>
      <maml:description>
        <maml:para>The proxy server authorization scheme (default: BASIC).</maml:para>
      </maml:description>
      <command:parameterValue >
        string
      </command:parameterValue>
      <dev:possibleValues>
        <dev:possibleValue>
          <dev:value>BASIC</dev:value>
        </dev:possibleValue>
        <dev:possibleValue>
          <dev:value>DIGEST</dev:value>
        </dev:possibleValue>
        <dev:possibleValue>
          <dev:value>NONE</dev:value>
        </dev:possibleValue>
        <dev:possibleValue>
          <dev:value>NEGOTIATE</dev:value>
        </dev:possibleValue>
        <dev:possibleValue>
          <dev:value>NTLM</dev:value>
        </dev:possibleValue>
        <dev:possibleValue>
          <dev:value>PROPRIETARY</dev:value>
        </dev:possibleValue>
   
      </dev:possibleValues>
       
      <dev:type>
        <maml:name>System.String</maml:name>
        <maml:uri/>
      </dev:type>
      <dev:defaultValue>
        "BASIC"
      </dev:defaultValue>
    </command:parameter>
      <command:parameter >
      <maml:name>ProxyAutoDetect</maml:name>
      <maml:description>
        <maml:para>This indicates whether to use the default system proxy settings or not. Set ProxyAutoDetect to FALSE to use custom proxy settings. This takes precedence over other proxy settings.</maml:para>
      </maml:description>
      <command:parameterValue >
        bool
      </command:parameterValue>
 
      <dev:type>
        <maml:name>System.String</maml:name>
        <maml:uri/>
      </dev:type>
      <dev:defaultValue>
        true
      </dev:defaultValue>
    </command:parameter>
      <command:parameter >
      <maml:name>ProxyPassword</maml:name>
      <maml:description>
        <maml:para>A password, if authenticating with a proxy server.</maml:para>
      </maml:description>
      <command:parameterValue >
        string
      </command:parameterValue>
 
      <dev:type>
        <maml:name>System.String</maml:name>
        <maml:uri/>
      </dev:type>
      <dev:defaultValue>
        ""
      </dev:defaultValue>
    </command:parameter>
      <command:parameter >
      <maml:name>ProxyPort</maml:name>
      <maml:description>
        <maml:para>The TCP port for the proxy ProxyServer (default: 80).</maml:para>
      </maml:description>
      <command:parameterValue >
        string
      </command:parameterValue>
 
      <dev:type>
        <maml:name>System.String</maml:name>
        <maml:uri/>
      </dev:type>
      <dev:defaultValue>
        "80"
      </dev:defaultValue>
    </command:parameter>
      <command:parameter >
      <maml:name>ProxyServer</maml:name>
      <maml:description>
        <maml:para>If a proxy server is given, then the HTTP request is sent to the proxy instead of the specified server.</maml:para>
      </maml:description>
      <command:parameterValue >
        string
      </command:parameterValue>
 
      <dev:type>
        <maml:name>System.String</maml:name>
        <maml:uri/>
      </dev:type>
      <dev:defaultValue>
        ""
      </dev:defaultValue>
    </command:parameter>
      <command:parameter >
      <maml:name>ProxySSLType</maml:name>
      <maml:description>
        <maml:para>The SSL type to use when connecting to the proxy server (default: AUTO).</maml:para>
      </maml:description>
      <command:parameterValue >
        string
      </command:parameterValue>
      <dev:possibleValues>
        <dev:possibleValue>
          <dev:value>AUTO</dev:value>
        </dev:possibleValue>
        <dev:possibleValue>
          <dev:value>ALWAYS</dev:value>
        </dev:possibleValue>
        <dev:possibleValue>
          <dev:value>NEVER</dev:value>
        </dev:possibleValue>
        <dev:possibleValue>
          <dev:value>TUNNEL</dev:value>
        </dev:possibleValue>
   
      </dev:possibleValues>
       
      <dev:type>
        <maml:name>System.String</maml:name>
        <maml:uri/>
      </dev:type>
      <dev:defaultValue>
        "AUTO"
      </dev:defaultValue>
    </command:parameter>
      <command:parameter >
      <maml:name>ProxyUser</maml:name>
      <maml:description>
        <maml:para>A user name, if authentication is to be used for the proxy.</maml:para>
      </maml:description>
      <command:parameterValue >
        string
      </command:parameterValue>
 
      <dev:type>
        <maml:name>System.String</maml:name>
        <maml:uri/>
      </dev:type>
      <dev:defaultValue>
        ""
      </dev:defaultValue>
    </command:parameter>
      <command:parameter >
      <maml:name>PseudoColumns</maml:name>
      <maml:description>
        <maml:para>Indicates whether or not to include pseudo columns as columns to the table.</maml:para>
      </maml:description>
      <command:parameterValue >
        string
      </command:parameterValue>
 
      <dev:type>
        <maml:name>System.String</maml:name>
        <maml:uri/>
      </dev:type>
      <dev:defaultValue>
        ""
      </dev:defaultValue>
    </command:parameter>
      <command:parameter >
      <maml:name>QueryCache</maml:name>
      <maml:description>
        <maml:para>The time duration, in seconds, for which the in-memory cached data is reused.</maml:para>
      </maml:description>
      <command:parameterValue >
        string
      </command:parameterValue>
 
      <dev:type>
        <maml:name>System.String</maml:name>
        <maml:uri/>
      </dev:type>
      <dev:defaultValue>
        ""
      </dev:defaultValue>
    </command:parameter>
      <command:parameter >
      <maml:name>QueryPassthrough</maml:name>
      <maml:description>
        <maml:para>This option passes the query to MongoDB as-is.</maml:para>
      </maml:description>
      <command:parameterValue >
        SwitchParameter
      </command:parameterValue>
 
      <dev:type>
        <maml:name>System.String</maml:name>
        <maml:uri/>
      </dev:type>
      <dev:defaultValue>
        false
      </dev:defaultValue>
    </command:parameter>
      <command:parameter >
      <maml:name>Readonly</maml:name>
      <maml:description>
        <maml:para>You can use this property to enforce read-only access to MongoDB from the provider.</maml:para>
      </maml:description>
      <command:parameterValue >
        SwitchParameter
      </command:parameterValue>
 
      <dev:type>
        <maml:name>System.String</maml:name>
        <maml:uri/>
      </dev:type>
      <dev:defaultValue>
        false
      </dev:defaultValue>
    </command:parameter>
      <command:parameter >
      <maml:name>ReadPreference</maml:name>
      <maml:description>
        <maml:para>Set this property to specify the read preference mode. Accepted values are primary, primaryPreferred, secondary, secondaryPreferred, and nearest.</maml:para>
      </maml:description>
      <command:parameterValue >
        string
      </command:parameterValue>
 
      <dev:type>
        <maml:name>System.String</maml:name>
        <maml:uri/>
      </dev:type>
      <dev:defaultValue>
        ""
      </dev:defaultValue>
    </command:parameter>
      <command:parameter >
      <maml:name>ReplicaSet</maml:name>
      <maml:description>
        <maml:para>This property allows you to specify multiple servers in addition to the one configured in Server and Port . Specify both a server name and port; separate servers with a comma.</maml:para>
      </maml:description>
      <command:parameterValue >
        string
      </command:parameterValue>
 
      <dev:type>
        <maml:name>System.String</maml:name>
        <maml:uri/>
      </dev:type>
      <dev:defaultValue>
        ""
      </dev:defaultValue>
    </command:parameter>
      <command:parameter >
      <maml:name>RowScanDepth</maml:name>
      <maml:description>
        <maml:para>The maximum number of rows to scan to look for the columns available in a table. Set this property to gain more control over how the provider applies data types to collections.</maml:para>
      </maml:description>
      <command:parameterValue >
        string
      </command:parameterValue>
 
      <dev:type>
        <maml:name>System.String</maml:name>
        <maml:uri/>
      </dev:type>
      <dev:defaultValue>
        "100"
      </dev:defaultValue>
    </command:parameter>
      <command:parameter >
      <maml:name>RTK</maml:name>
      <maml:description>
        <maml:para>The runtime key used for licensing.</maml:para>
      </maml:description>
      <command:parameterValue >
        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">
      <maml:name>Server</maml:name>
      <maml:description>
        <maml:para>The host name or IP address of the server hosting the MongoDB 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>
      <command:parameter >
      <maml:name>SlaveOK</maml:name>
      <maml:description>
        <maml:para>This property sets whether the provider is allowed to read from secondary (slave) servers.</maml:para>
      </maml:description>
      <command:parameterValue >
        SwitchParameter
      </command:parameterValue>
 
      <dev:type>
        <maml:name>System.String</maml:name>
        <maml:uri/>
      </dev:type>
      <dev:defaultValue>
        false
      </dev:defaultValue>
    </command:parameter>
      <command:parameter >
      <maml:name>SSLServerCert</maml:name>
      <maml:description>
        <maml:para>The certificate to be accepted from the server when connecting using TLS/SSL.</maml:para>
      </maml:description>
      <command:parameterValue >
        string
      </command:parameterValue>
 
      <dev:type>
        <maml:name>System.String</maml:name>
        <maml:uri/>
      </dev:type>
      <dev:defaultValue>
        ""
      </dev:defaultValue>
    </command:parameter>
      <command:parameter >
      <maml:name>SupportEnhancedSQL</maml:name>
      <maml:description>
        <maml:para>If set to true, the provider will cache the entire table in memory and issue the current query against the memory cache. Allows queries with aggregate functions that are otherwise unsupported. The entire memory cache is discarded after the query is executed, unlike QueryCache.</maml:para>
      </maml:description>
      <command:parameterValue >
        bool
      </command:parameterValue>
 
      <dev:type>
        <maml:name>System.String</maml:name>
        <maml:uri/>
      </dev:type>
      <dev:defaultValue>
        true
      </dev:defaultValue>
    </command:parameter>
      <command:parameter >
      <maml:name>Tables</maml:name>
      <maml:description>
        <maml:para>Comma-separated list of tables to be listed. For example: Tables=TableA,TableB,TableC.</maml:para>
      </maml:description>
      <command:parameterValue >
        string
      </command:parameterValue>
 
      <dev:type>
        <maml:name>System.String</maml:name>
        <maml:uri/>
      </dev:type>
      <dev:defaultValue>
        ""
      </dev:defaultValue>
    </command:parameter>
      <command:parameter >
      <maml:name>Timeout</maml:name>
      <maml:description>
        <maml:para>The value in seconds until the timeout error is thrown, canceling the operation.</maml:para>
      </maml:description>
      <command:parameterValue >
        string
      </command:parameterValue>
 
      <dev:type>
        <maml:name>System.String</maml:name>
        <maml:uri/>
      </dev:type>
      <dev:defaultValue>
        "60"
      </dev:defaultValue>
    </command:parameter>
      <command:parameter >
      <maml:name>TypeDetectionScheme</maml:name>
      <maml:description>
        <maml:para>Comma separated options for how the provider will scan the data to determine the fields and datatypes in each document collection.</maml:para>
      </maml:description>
      <command:parameterValue >
        string
      </command:parameterValue>
 
      <dev:type>
        <maml:name>System.String</maml:name>
        <maml:uri/>
      </dev:type>
      <dev:defaultValue>
        "RowScan,Recent"
      </dev:defaultValue>
    </command:parameter>
      <command:parameter required="true">
      <maml:name>User</maml:name>
      <maml:description>
        <maml:para>The username used to authenticate with MongoDB.</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 >
      <maml:name>UseSSL</maml:name>
      <maml:description>
        <maml:para>This field sets whether SSL is enabled.</maml:para>
      </maml:description>
      <command:parameterValue >
        SwitchParameter
      </command:parameterValue>
 
      <dev:type>
        <maml:name>System.String</maml:name>
        <maml:uri/>
      </dev:type>
      <dev:defaultValue>
        false
      </dev:defaultValue>
    </command:parameter>
      <command:parameter >
      <maml:name>Verbosity</maml:name>
      <maml:description>
        <maml:para>The verbosity level that determines the amount of detail included in the log file.</maml:para>
      </maml:description>
      <command:parameterValue >
        string
      </command:parameterValue>
 
      <dev:type>
        <maml:name>System.String</maml:name>
        <maml:uri/>
      </dev:type>
      <dev:defaultValue>
        "1"
      </dev:defaultValue>
    </command:parameter>
     
 
  </command:parameters>
 
  <!-- Input - Output section--> <command:inputTypes>
 
  </command:inputTypes>
 
  <command:returnValues>
 
    <command:returnValue>
      <dev:type>
        <maml:name>CData.MongoDBCmdlets.Commands.MongoDBPSConnection</maml:name>
        <maml:uri />
        <maml:description>
          <maml:para>
            The MongoDB connection object.
          </maml:para>
        </maml:description>
      </dev:type>
      <maml:description>
        The MongoDBConnection object may be passed to related cmdlets to use the connection.
      </maml:description>
    </command:returnValue>
 
  </command:returnValues>
 
  <command:terminatingErrors />
 
  <command:nonTerminatingErrors />
 
  <!-- Example section -->
 
  <command:examples />
 
  <!-- Link section --> <maml:relatedLinks>
    <maml:navigationLink>
      <maml:linkText></maml:linkText>
      <maml:uri/>
    </maml:navigationLink>
  </maml:relatedLinks>
</command:command>
 
 
 
<!-- Cmdlet --><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>
      Select-MongoDB
    </command:name>
    <maml:description>
      <maml:para>Searches MongoDB data.</maml:para>
    </maml:description>
    <maml:copyright>
      <maml:para>Copyright (c) 2017 CData Software, Inc. - All rights reserved.</maml:para>
    </maml:copyright>
    <command:verb>Select</command:verb>
    <command:noun>MongoDB</command:noun>
    <dev:version>16.0</dev:version>
  </command:details>
   
  <maml:description>
    <maml:para>Searches MongoDB data. The Select-MongoDB cmdlet allows you to use a syntax similar to SQL SELECT statements to search MongoDB data.</maml:para><maml:para>$conn = Connect-MongoDB -Server '127.0.0.1' -Port 27017 -Database 'test' -User 'test' -Password 'test'</maml:para><maml:para>Select-MongoDB -Connection $conn -Table "Customers" -Columns @("City","CompanyName") -Where "Country='US'"</maml:para><maml:para></maml:para><maml:para></maml:para>
  </maml:description>
   
  <!-- Cmdlet syntax section-->
  <command:syntax>
      <command:syntaxItem>
        <maml:name>Select-MongoDB [parameters]</maml:name>
     
        <command:parameter required="false"
          pipelineInput="false"
          position="named">
          <maml:name>Columns</maml:name>
          <maml:description>
            <maml:para>The columns to return.</maml:para>
          </maml:description>
          <command:parameterValue >
            string[]
          </command:parameterValue>
        </command:parameter>
     
        <command:parameter required="true"
          pipelineInput="true"
          position="0">
          <maml:name>Connection</maml:name>
          <maml:description>
            <maml:para>The connection object.</maml:para>
          </maml:description>
          <command:parameterValue >
            DataConnection
          </command:parameterValue>
        </command:parameter>
     
        <command:parameter required="false"
          pipelineInput="false"
          position="named">
          <maml:name>GroupBy</maml:name>
          <maml:description>
            <maml:para>A comma-separated list of columns that the result set will be grouped by.</maml:para>
          </maml:description>
          <command:parameterValue >
            string
          </command:parameterValue>
        </command:parameter>
     
        <command:parameter required="false"
          pipelineInput="false"
          position="named">
          <maml:name>OrderBy</maml:name>
          <maml:description>
            <maml:para>The order in which columns will be returned.</maml:para>
          </maml:description>
          <command:parameterValue >
            string
          </command:parameterValue>
        </command:parameter>
     
        <command:parameter required="false"
          pipelineInput="false"
          position="named">
          <maml:name>Params</maml:name>
          <maml:description>
            <maml:para>The parameters that will be used for the query.</maml:para>
          </maml:description>
          <command:parameterValue >
            Hashtable
          </command:parameterValue>
        </command:parameter>
     
        <command:parameter required="true"
          pipelineInput="true"
          position="named">
          <maml:name>Table</maml:name>
          <maml:description>
            <maml:para>The table on which the operation will be performed.</maml:para>
          </maml:description>
          <command:parameterValue >
            string
          </command:parameterValue>
        </command:parameter>
     
        <command:parameter required="false"
          pipelineInput="false"
          position="named">
          <maml:name>Where</maml:name>
          <maml:description>
            <maml:para>The SQL WHERE clause that will be used for the operation.</maml:para>
          </maml:description>
          <command:parameterValue >
            string
          </command:parameterValue>
        </command:parameter>
 
      </command:syntaxItem>
    </command:syntax>
 
  <!-- Cmdlet parameter section -->
    <command:parameters>
  <command:parameter
  pipelineInput="false"
  position="named" >
      <maml:name>Columns</maml:name>
      <maml:description>
        <maml:para>The columns to return.</maml:para>
      </maml:description>
      <command:parameterValue >
        string[]
      </command:parameterValue>
 
      <dev:type>
        <maml:name>System.String</maml:name>
        <maml:uri/>
      </dev:type>
      <dev:defaultValue>
        null
      </dev:defaultValue>
    </command:parameter>
      <command:parameter required="true"
  pipelineInput="true"
  position=0 >
      <maml:name>Connection</maml:name>
      <maml:description>
        <maml:para>The connection object.</maml:para>
      </maml:description>
      <command:parameterValue required="true" >
        DataConnection
      </command:parameterValue>
 
      <dev:type>
        <maml:name>System.String</maml:name>
        <maml:uri/>
      </dev:type>
      <dev:defaultValue>
        null
      </dev:defaultValue>
    </command:parameter>
      <command:parameter
  pipelineInput="false"
  position="named" >
      <maml:name>GroupBy</maml:name>
      <maml:description>
        <maml:para>A comma-separated list of columns that the result set will be grouped by.</maml:para>
      </maml:description>
      <command:parameterValue >
        string
      </command:parameterValue>
 
      <dev:type>
        <maml:name>System.String</maml:name>
        <maml:uri/>
      </dev:type>
      <dev:defaultValue>
        ""
      </dev:defaultValue>
    </command:parameter>
      <command:parameter
  pipelineInput="false"
  position="named" >
      <maml:name>OrderBy</maml:name>
      <maml:description>
        <maml:para>The order in which columns will be returned.</maml:para>
      </maml:description>
      <command:parameterValue >
        string
      </command:parameterValue>
 
      <dev:type>
        <maml:name>System.String</maml:name>
        <maml:uri/>
      </dev:type>
      <dev:defaultValue>
        ""
      </dev:defaultValue>
    </command:parameter>
      <command:parameter
  pipelineInput="false"
  position="named" >
      <maml:name>Params</maml:name>
      <maml:description>
        <maml:para>The parameters that will be used for the query.</maml:para>
      </maml:description>
      <command:parameterValue >
        Hashtable
      </command:parameterValue>
 
      <dev:type>
        <maml:name>System.String</maml:name>
        <maml:uri/>
      </dev:type>
      <dev:defaultValue>
        null
      </dev:defaultValue>
    </command:parameter>
      <command:parameter required="true"
  pipelineInput="true"
  position="named" >
      <maml:name>Table</maml:name>
      <maml:description>
        <maml:para>The table on which the operation will be performed.</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
  pipelineInput="false"
  position="named" >
      <maml:name>Where</maml:name>
      <maml:description>
        <maml:para>The SQL WHERE clause that will be used for the operation.</maml:para>
      </maml:description>
      <command:parameterValue >
        string
      </command:parameterValue>
 
      <dev:type>
        <maml:name>System.String</maml:name>
        <maml:uri/>
      </dev:type>
      <dev:defaultValue>
        ""
      </dev:defaultValue>
    </command:parameter>
     
 
  </command:parameters>
 
  <!-- Input - Output section--> <command:inputTypes>
 
  </command:inputTypes>
 
  <command:returnValues>
      <command:returnValue>
      <dev:type>
        <maml:name>QueryResults</maml:name>
        <maml:uri />
        <maml:description>
          <maml:para>
            The results of the query.
          </maml:para>
        </maml:description>
      </dev:type>
      <maml:description>
        The results of the query.
      </maml:description>
    </command:returnValue>
   
  </command:returnValues>
 
  <command:terminatingErrors />
 
  <command:nonTerminatingErrors />
 
  <!-- Example section -->
 
  <command:examples />
 
  <!-- Link section --> <maml:relatedLinks>
    <maml:navigationLink>
      <maml:linkText></maml:linkText>
      <maml:uri/>
    </maml:navigationLink>
  </maml:relatedLinks>
</command:command>
<!-- Cmdlet --><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>
      Sync-MongoDB
    </command:name>
    <maml:description>
      <maml:para>Syncs MongoDB data.</maml:para>
    </maml:description>
    <maml:copyright>
      <maml:para>Copyright (c) 2017 CData Software, Inc. - All rights reserved.</maml:para>
    </maml:copyright>
    <command:verb>Sync</command:verb>
    <command:noun>MongoDB</command:noun>
    <dev:version>16.0</dev:version>
  </command:details>
   
  <maml:description>
    <maml:para>Syncs MongoDB data. The Sync-MongoDB cmdlet allows you to replicate a data source locally and maintain it with the full caching functionality of the provider.</maml:para><maml:para>$conn = Connect-MongoDB -Server '127.0.0.1' -Port 27017 -Database 'test' -User 'test' -Password 'test'</maml:para><maml:para>Sync-MongoDB -Connection $conn -Table "Customers"</maml:para><maml:para></maml:para><maml:para></maml:para>
  </maml:description>
   
  <!-- Cmdlet syntax section-->
  <command:syntax>
      <command:syntaxItem>
        <maml:name>Sync-MongoDB [parameters]</maml:name>
     
        <command:parameter required="false"
          pipelineInput="false"
          position="named">
          <maml:name>Columns</maml:name>
          <maml:description>
            <maml:para>The columns to sync.</maml:para>
          </maml:description>
          <command:parameterValue >
            string[]
          </command:parameterValue>
        </command:parameter>
     
        <command:parameter required="true"
          pipelineInput="true"
          position="0">
          <maml:name>Connection</maml:name>
          <maml:description>
            <maml:para>The connection object.</maml:para>
          </maml:description>
          <command:parameterValue >
            DataConnection
          </command:parameterValue>
        </command:parameter>
     
        <command:parameter required="false"
          pipelineInput="true"
          position="named">
          <maml:name>DestinationTable</maml:name>
          <maml:description>
            <maml:para>The table where the data will be placed.</maml:para>
          </maml:description>
          <command:parameterValue >
            string
          </command:parameterValue>
        </command:parameter>
     
        <command:parameter required="false"
          pipelineInput="false"
          position="named">
          <maml:name>Params</maml:name>
          <maml:description>
            <maml:para>The parameters that will be used for the query.</maml:para>
          </maml:description>
          <command:parameterValue >
            Hashtable
          </command:parameterValue>
        </command:parameter>
     
        <command:parameter required="true"
          pipelineInput="true"
          position="named">
          <maml:name>Table</maml:name>
          <maml:description>
            <maml:para>The table on which the operation will be performed.</maml:para>
          </maml:description>
          <command:parameterValue >
            string
          </command:parameterValue>
        </command:parameter>
 
      </command:syntaxItem>
    </command:syntax>
 
  <!-- Cmdlet parameter section -->
    <command:parameters>
  <command:parameter
  pipelineInput="false"
  position="named" >
      <maml:name>Columns</maml:name>
      <maml:description>
        <maml:para>The columns to sync.</maml:para>
      </maml:description>
      <command:parameterValue >
        string[]
      </command:parameterValue>
 
      <dev:type>
        <maml:name>System.String</maml:name>
        <maml:uri/>
      </dev:type>
      <dev:defaultValue>
        null
      </dev:defaultValue>
    </command:parameter>
      <command:parameter required="true"
  pipelineInput="true"
  position=0 >
      <maml:name>Connection</maml:name>
      <maml:description>
        <maml:para>The connection object.</maml:para>
      </maml:description>
      <command:parameterValue required="true" >
        DataConnection
      </command:parameterValue>
 
      <dev:type>
        <maml:name>System.String</maml:name>
        <maml:uri/>
      </dev:type>
      <dev:defaultValue>
        null
      </dev:defaultValue>
    </command:parameter>
      <command:parameter
  pipelineInput="true"
  position="named" >
      <maml:name>DestinationTable</maml:name>
      <maml:description>
        <maml:para>The table where the data will be placed.</maml:para>
      </maml:description>
      <command:parameterValue >
        string
      </command:parameterValue>
 
      <dev:type>
        <maml:name>System.String</maml:name>
        <maml:uri/>
      </dev:type>
      <dev:defaultValue>
        ""
      </dev:defaultValue>
    </command:parameter>
      <command:parameter
  pipelineInput="false"
  position="named" >
      <maml:name>Params</maml:name>
      <maml:description>
        <maml:para>The parameters that will be used for the query.</maml:para>
      </maml:description>
      <command:parameterValue >
        Hashtable
      </command:parameterValue>
 
      <dev:type>
        <maml:name>System.String</maml:name>
        <maml:uri/>
      </dev:type>
      <dev:defaultValue>
        null
      </dev:defaultValue>
    </command:parameter>
      <command:parameter required="true"
  pipelineInput="true"
  position="named" >
      <maml:name>Table</maml:name>
      <maml:description>
        <maml:para>The table on which the operation will be performed.</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:parameters>
 
  <!-- Input - Output section--> <command:inputTypes>
 
  </command:inputTypes>
 
  <command:returnValues>
      <command:returnValue>
      <dev:type>
        <maml:name>AffectedRowsCount</maml:name>
        <maml:uri />
        <maml:description>
          <maml:para>
            The number of rows affected by the operation.
          </maml:para>
        </maml:description>
      </dev:type>
      <maml:description>
        The number of rows affected by the operation.
      </maml:description>
    </command:returnValue>
   
  </command:returnValues>
 
  <command:terminatingErrors />
 
  <command:nonTerminatingErrors />
 
  <!-- Example section -->
 
  <command:examples />
 
  <!-- Link section --> <maml:relatedLinks>
    <maml:navigationLink>
      <maml:linkText></maml:linkText>
      <maml:uri/>
    </maml:navigationLink>
  </maml:relatedLinks>
</command:command>
<!-- Cmdlet --><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>
      Update-MongoDB
    </command:name>
    <maml:description>
      <maml:para>Updates MongoDB data.</maml:para>
    </maml:description>
    <maml:copyright>
      <maml:para>Copyright (c) 2017 CData Software, Inc. - All rights reserved.</maml:para>
    </maml:copyright>
    <command:verb>Update</command:verb>
    <command:noun>MongoDB</command:noun>
    <dev:version>16.0</dev:version>
  </command:details>
   
  <maml:description>
    <maml:para>Updates MongoDB data. The Update-MongoDB cmdlet allows you to use a syntax similar to SQL UPDATE statements to update MongoDB data.</maml:para><maml:para>$conn = Connect-MongoDB -Server '127.0.0.1' -Port 27017 -Database 'test' -User 'test' -Password 'test'</maml:para><maml:para>Update-MongoDB -Connection $conn -Table "Customers" -Columns @("CompanyName") -Values @("Jon Deere") -Id "22"</maml:para><maml:para></maml:para><maml:para>The Where parameter can also be used to specify the primary key of the table:</maml:para><maml:para></maml:para><maml:para>Update-MongoDB -Connection $conn -Table "Customers" -Columns @("CompanyName") -Values @("Jon Deere") -Where "_id = '22'"</maml:para><maml:para></maml:para><maml:para>The primary key can also be passed to the cmdlet along the pipeline:</maml:para><maml:para></maml:para><maml:para>Select-MongoDB -Connection $conn -Table Customers -Where "Country = 'US'" | Update-MongoDB -Columns @("Country") -Values @("US 2")</maml:para><maml:para></maml:para><maml:para></maml:para>
  </maml:description>
   
  <!-- Cmdlet syntax section-->
  <command:syntax>
      <command:syntaxItem>
        <maml:name>Update-MongoDB [parameters]</maml:name>
     
        <command:parameter required="true"
          pipelineInput="true"
          position="named">
          <maml:name>Columns</maml:name>
          <maml:description>
            <maml:para>The columns on which the operation will be performed.</maml:para>
          </maml:description>
          <command:parameterValue >
            string[]
          </command:parameterValue>
        </command:parameter>
     
        <command:parameter required="true"
          pipelineInput="true"
          position="0">
          <maml:name>Connection</maml:name>
          <maml:description>
            <maml:para>The connection object.</maml:para>
          </maml:description>
          <command:parameterValue >
            DataConnection
          </command:parameterValue>
        </command:parameter>
     
        <command:parameter required="false"
          pipelineInput="true"
          position="named">
          <maml:name>Id</maml:name>
          <maml:description>
            <maml:para>The Id of the item on which the operation will be performed.</maml:para>
          </maml:description>
          <command:parameterValue >
            string
          </command:parameterValue>
        </command:parameter>
     
        <command:parameter required="true"
          pipelineInput="true"
          position="named">
          <maml:name>Table</maml:name>
          <maml:description>
            <maml:para>The table on which the operation will be performed.</maml:para>
          </maml:description>
          <command:parameterValue >
            string
          </command:parameterValue>
        </command:parameter>
     
        <command:parameter required="true"
          pipelineInput="false"
          position="named">
          <maml:name>Values</maml:name>
          <maml:description>
            <maml:para>The values that will be used to update the table.</maml:para>
          </maml:description>
          <command:parameterValue >
            string[]
          </command:parameterValue>
        </command:parameter>
     
        <command:parameter required="false"
          pipelineInput="false"
          position="named">
          <maml:name>Where</maml:name>
          <maml:description>
            <maml:para>The SQL WHERE clause that will be used for the operation.</maml:para>
          </maml:description>
          <command:parameterValue >
            string
          </command:parameterValue>
        </command:parameter>
 
      </command:syntaxItem>
    </command:syntax>
 
  <!-- Cmdlet parameter section -->
    <command:parameters>
  <command:parameter required="true"
  pipelineInput="true"
  position="named" >
      <maml:name>Columns</maml:name>
      <maml:description>
        <maml:para>The columns on which the operation will be performed.</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>
        null
      </dev:defaultValue>
    </command:parameter>
      <command:parameter required="true"
  pipelineInput="true"
  position=0 >
      <maml:name>Connection</maml:name>
      <maml:description>
        <maml:para>The connection object.</maml:para>
      </maml:description>
      <command:parameterValue required="true" >
        DataConnection
      </command:parameterValue>
 
      <dev:type>
        <maml:name>System.String</maml:name>
        <maml:uri/>
      </dev:type>
      <dev:defaultValue>
        null
      </dev:defaultValue>
    </command:parameter>
      <command:parameter
  pipelineInput="true"
  position="named" >
      <maml:name>Id</maml:name>
      <maml:description>
        <maml:para>The Id of the item on which the operation will be performed.</maml:para>
      </maml:description>
      <command:parameterValue >
        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"
  pipelineInput="true"
  position="named" >
      <maml:name>Table</maml:name>
      <maml:description>
        <maml:para>The table on which the operation will be performed.</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"
  pipelineInput="false"
  position="named" >
      <maml:name>Values</maml:name>
      <maml:description>
        <maml:para>The values that will be used to update the table.</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>
        null
      </dev:defaultValue>
    </command:parameter>
      <command:parameter
  pipelineInput="false"
  position="named" >
      <maml:name>Where</maml:name>
      <maml:description>
        <maml:para>The SQL WHERE clause that will be used for the operation.</maml:para>
      </maml:description>
      <command:parameterValue >
        string
      </command:parameterValue>
 
      <dev:type>
        <maml:name>System.String</maml:name>
        <maml:uri/>
      </dev:type>
      <dev:defaultValue>
        ""
      </dev:defaultValue>
    </command:parameter>
     
 
  </command:parameters>
 
  <!-- Input - Output section--> <command:inputTypes>
 
  </command:inputTypes>
 
  <command:returnValues>
      <command:returnValue>
      <dev:type>
        <maml:name>AffectedRowsCount</maml:name>
        <maml:uri />
        <maml:description>
          <maml:para>
            The number of rows affected by the operation.
          </maml:para>
        </maml:description>
      </dev:type>
      <maml:description>
        The number of rows affected by the operation.
      </maml:description>
    </command:returnValue>
   
  </command:returnValues>
 
  <command:terminatingErrors />
 
  <command:nonTerminatingErrors />
 
  <!-- Example section -->
 
  <command:examples />
 
  <!-- Link section --> <maml:relatedLinks>
    <maml:navigationLink>
      <maml:linkText></maml:linkText>
      <maml:uri/>
    </maml:navigationLink>
  </maml:relatedLinks>
</command:command>
</helpItems>