Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dfinke/equal-bird
PowerShell functions for quickly getting information from Azure Cosmos DB and more
https://github.com/dfinke/equal-bird
azure cosmosdb powershell
Last synced: 7 days ago
JSON representation
PowerShell functions for quickly getting information from Azure Cosmos DB and more
- Host: GitHub
- URL: https://github.com/dfinke/equal-bird
- Owner: dfinke
- License: apache-2.0
- Created: 2017-05-13T23:57:46.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-05-14T13:55:17.000Z (over 7 years ago)
- Last Synced: 2024-11-12T11:45:31.092Z (2 months ago)
- Topics: azure, cosmosdb, powershell
- Language: PowerShell
- Homepage:
- Size: 12.7 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Install from the PowerShell Gallery
```powershell
Install-Module -Name EqualBird
```
Set of PowerShell functions to make working with Azure resources easier.These functions also leverage PowerShell's ability to bind parameters between functions by property name.
```
PS C:\> Get-CosmosDB
Name : seinfeld
ResourceId : /subscriptions/xxxxxxxxxxxxxx/resourceGroups/Kramer-RG/providers/Microsoft.Do
cumentDb/databaseAccounts/seinfeld
ResourceName : seinfeld
ResourceType : Microsoft.DocumentDb/databaseAccounts
Kind : GlobalDocumentDB
ResourceGroupName : Kramer-RGPS C:\> Get-CosmosDB | Get-CosmosConnectionString
AccountEndpoint=https://seinfeld.documents.azure.com:443/;AccountKey=xxxxxxxx;Database=seinfeld````
## Cosmos DB
| Function | Description|
|---|---|
|Get-CosmosDB|Gets all the Cosmos DBs in your Azure subscription
|Get-CosmosConnectionString|Retrieves keys from your Cosmos DB and returns a connectstring
|Get-AllCosmosDBConnectionString|Convenience function that calls `Get-CosmosDB \| Get-AllCosmosDBConnectionString` and formats the results|