title: Using PowerShell to add values on matching string and output to a new file
body: <p>I have a flat file with 3 columns
  Date, Page, and Page Count.</p>
  <p>Each page has 2 versions of that page. A secure page and a non secure version(nlbwc)</p>
  <p>I want to be able to take all the entries in the file <strong>add the page counts
  for that specific date</strong>, and output the file with a generic page name</p>
  <p><strong>So for example,
  The data below</strong></p>
  <p>2021-12-06 00:00:00,secure/WebPage1,1806</p>
  <p>2021-12-13 00:00:00,secure/WebPage1,1563</p>
  <p>2021-12-06 00:00:00,nlbwc/WebPage1,938</p>
  <p>2021-12-13 00:00:00,nlbwc/WebPage1,894</p>
  <p>2021-12-06 00:00:00,secure/WebPage2,1533</p>
  <p>2021-12-13 00:00:00,secure/WebPage2,1351</p>
  <p>2021-12-06 00:00:00,nlbwc/WebPage2,450</p>
  <p>2021-12-13 00:00:00,nlbwc/WebPage2,360</p>
  <p>Would Yield</p>
  <p>2021-12-06 00:00:00,<strong>WebPage1,2744</strong> (1806+938)</p>
  <p>2021-12-13 00:00:00,<strong>WebPage1,2457</strong> (1563+894)</p>
  <p>2021-12-06 00:00:00,<strong>WebPage2,2744</strong> (1533+450)</p>
  <p>2021-12-13 00:00:00,<strong>WebPage2,2457</strong> (1351+360)</p>
  <p>(The 2 separate values for secure and nlbwc added together based on the date)</p>
  <p>This output would be dumped into a csv</p>
  <p>What is the best way to accomplish this?</p>
  <p>Kindest Regards</p>
  <blockquote>
  </blockquote>