I'm creating a simple script to pull a chrome extension from a user's file path, search the chrome app store for the name of the extension, and enter it into the csv:
# Open file
$file = Import-Csv 'filepath'
# Loop through each line of CSV
foreach ($line in $file)
{
# Assign file path, and regex just the extension
$path = $line.path
$extension = $path -replace '.*\\Extensions\\'
# Open chrome webstore for specific extension
$result = Invoke-webrequest -Uri "https://chrome.google.com/webstore/detail/$extension" -Method Get
$resultTable = @{}
# Grab title of extension and place in CSV
$title = $result.ParsedHtml.title
Add-Content -Path 'filepath' -Value "$path,$extension,$title"
# Create table and return as an object
$resultTable.$extension = $title
Write-Output $resultTable
}
Doing this works fine, but appends the results to the bottom of the table instead of in it's neighbouring column, as shown:

How would I go about simply placing the output into the fields beside, instead of adding to the bottom?
Any help would be much appreciated, and thank you in advance.
EDIT: To make things a little clearer. The file originally looks like this:
My desired output would be to have the extension, and title in the same row, but neighbouring columns, as such:

