Skip to content

Instantly share code, notes, and snippets.

@ryepup
Created July 4, 2018 12:56
Show Gist options
  • Save ryepup/ea69b8a8045856a2cb7b0b09c1be67aa to your computer and use it in GitHub Desktop.
Save ryepup/ea69b8a8045856a2cb7b0b09c1be67aa to your computer and use it in GitHub Desktop.
Adding items to an azure storage queue via command line
$ export AZURE_STORAGE_CONNECTION_STRING="COPY/PASTE FROM PORTAL"
$ cat file-with-an-array.json | jq -c '.[]' | xargs -n1 az storage message put -q "$QUEUE" --content
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment