title: JSON Array in PowerShell
body: <p>Am trying to generate the below JSON string in PowerShell:<br></p>
  
  <pre><code>[
      {
          "FirstName": "Test",
          "LastName": "Account2"
      }
  ]
  </code></pre>
  
  <p>The code I have at the moment in PowerShell is:</p>
  
  <pre><code>$Body = @{
      @{
          FirstName='Test'
          LastName='Account2'
       }
  }
  </code></pre>
  
  <p>The error I get with this is: Missing '=' operator after key in hash literal.</p>