title: Extract value from JSON
body: <p>I am trying to use PowerShell to extract value from JSON object, I have the following JSON:</p>
  
  <pre><code>{
      "$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#",
      "contentVersion": "1.0.0.0",
      "parameters": {
       "clusterName": {
        "value": "hbasehd35"
      },
       "location": {
        "value": "East US 2"
      },
       "clusterType": {
        "value": "hbase"
      },
       "clusterVersion": {
        "value": "3.5"
      },
       "clusterWorkerNodeCount": {
        "value": 5
      },
       "subnetName": {
        "value": "hbase-subnet"
      },
       "headNodeSize": {
        "value": "Standard_D12_v2"
      },
       "workerNodeSize": {
        "value": "Standard_D12_v2"
      },
       "zookeeperSize": {
        "value": "Large"
      },
       "clusterStorageAccountName": {
        "value": "hbasestorage"
      },
       "storageAccountType": {
        "value": "Standard_GRS"
      },
       "Environment": {
        "value": "test"
      }
    }
  }
  </code></pre>
  
  <p>Here I want to extract <code>clusterStorageAccountName</code> from this file using powershell, and assign it to variable.</p>
  
  <p>Anyone know how to do this ?</p>