Skip to content

Instantly share code, notes, and snippets.

@PlagueHO
Created December 25, 2018 23:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PlagueHO/ff77e3dd09df9522e8707b13a147a4c0 to your computer and use it in GitHub Desktop.
Save PlagueHO/ff77e3dd09df9522e8707b13a147a4c0 to your computer and use it in GitHub Desktop.
Get the CORS Allowed Origins from a Cosmos DB account using PowerShell
(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