Cmdlets for Azure Cosmos DB

Build 24.0.9060

Select-CosmosDB Cmdlet

Parameters   Output Objects  

Searches Azure Cosmos DB data.

Syntax

Select-CosmosDB [parameters]

Remarks

The Select-CosmosDB cmdlet allows you to use a syntax similar to SQL SELECT statements to search Azure Cosmos DB data.

$conn = Connect-CosmosDB -AccountEndpoint "myAccountEndpoint" -AccountKey "myAccountKey"
Select-CosmosDB -Connection $conn -Table "[CData].[Entities].Customers" -Columns @("City","CompanyName") -Where "Country='US'"

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060