Created
December 25, 2018 23:45
-
-
Save PlagueHO/ff77e3dd09df9522e8707b13a147a4c0 to your computer and use it in GitHub Desktop.
Get the CORS Allowed Origins from a Cosmos DB account using PowerShell
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(Get-CosmosDbAccount ` | |
-Name 'dsrcosmosdbtest' ` | |
-ResourceGroupName 'dsrcosmosdbtest-rgp').Properties.Cors.AllowedOrigins |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment