title: PowerShell- Merging JSON files
body: <p>How to copy the objects of one array of a JSON file to an array of another JSON file using PowerShell? For Example I have one JSON file like:</p>
  
  <pre><code>"type":  "Employee",
  "Properties":  [
                    {
                        "Name":  "Raj",
                        "Id":  "18111",
                        "email":  "emp1@company.com",
                        "Position":  "Manager",
                        "DateOfJoining":  "16.10.14",
                     }
                ],
  "Description":  "Employee details"
  </code></pre>
  
  <p>and another JSON file as:</p>
  
  <pre><code>"type": "Employee",
  "Properties": [
      {
      "Name": "Ram",
      "Id": "44000",
      "email":  "emp2@company.com",
      "Position":  "Admin",
      "DateOfJoining":  "10.12.14",
      },      
      {
      "Name": "Paul",
      "Id": "44002",
      "email":  "emp3@company.com",
      "Position":  "Programmer",
      "DateOfJoining":  "10.9.14",
      },
  ],
  "Description": "Employee details"
  </code></pre>
  
  <p>I want to copy the arrays from 1st JSON file to the 2nd JSON file.</p>