Powershell parsing json : Hi I am trying to parse this json through powershell    
 

    gc .\release.json |  ConvertFrom-Json
        release.json will have similar content as below
            {
                  "source": 2,
                  "id": 3487,
                  "environments": [
                    {
                      "id": 11985,
                      "variables": {
                        "Var1": { "value": "val1" },
                        "Var2": { "value": "val2" },
                        "var3": { "value": "val3" }
                      }
                    },
                    {
                      "id": 13797,
                      "variables": {
                        "Var1": { "value": "val1" },
                        "Var2": { "value": "val2" },
                        "var3": { "value": "val3" },
                        "var4": { "value": "val4" }
                      }
                    }
                  ]
                }

To get an output like below, I can have many variable in each environment and can have multiple environment. eventually I need to take this to excel and analyse.

[![enter image description here][1]][1] 


  [1]: https://i.stack.imgur.com/ChrlQ.png
