title: Powershell reading Json
body: <p>I'm getting the following response through an API and I'm trying to pull data out of the JSON response. I'm interested in only pulling the clone.href when clone.name = ssh.</p>
  <pre><code>response: {
      &quot;links&quot;:  {
          &quot;clone&quot;:  [
              &quot;@{href=ssh://sampleurl.com; name=ssh}&quot;,
              &quot;@{href=https://sampleurl.com; name=http}&quot;
          ],
          &quot;self&quot;:  [
              &quot;@{href=https://sampleurl.com}&quot;
          ]
      }
  }
  </code></pre>
  <p>I'm using the following to call the API:</p>
  <pre><code>Invoke-RestMethod -Uri $uri -Headers $Header -Method POST -Body $Body|ConvertTo-Json
  </code></pre>