Select-MongoDB Cmdlet
Searches MongoDB data.
Syntax
Select-MongoDB [parameters]
Remarks
The Select-MongoDB cmdlet allows you to use a syntax similar to SQL SELECT statements to search MongoDB data.
$conn = Connect-MongoDB -Server '127.0.0.1' -Port 27017 -Database 'test' -User 'test' -Password 'test' Select-MongoDB -Connection $conn -Table "[CData].[Sample].Customers" -Columns @("City","CompanyName") -Where "Country='US'"