Functions/Out-Excel.ps1

function Out-Excel {
    param(
        $outputData,
        $outputFileName
    )
    
    $timeStampDisplay = "_$scriptTimeStamp"
    $outputData | Export-XLSX "$ScannedDataPath\$outputFileName$timeStampDisplay.xlsx";
}