title: How to edit existing Azure storage account CORS Rule through Bash Script
body: <p>I've been working as Devops engineer from past 3 months. So, I am learning creating scripts for automation. But I am stuck here.
  I wanna try to edit the CORS rule through bash script. I have successfully written a script for adding the rule but every time i run the script, its create a new rule. I want to edit the existing rule.</p>
  <p>Here's the script line, I am using to add CORS rule.</p>
  <pre><code>Add_Rule=$(az storage cors add --account-name testingscriptcors --origins 'http://google321.comh, http://www.google123.com'  --methods GET PUT --allowed-headers '*' --exposed-headers '*' --max-age 200 --services b)
  </code></pre>
  <p>What I am thinking that if I provide ( --rule 1  ) in this script, It'll worked out. But this doesn't work.</p>