Fusionner des PDF en Powershell
Pour installer le module :
Dans une fenêtre Powershell en tant qu'admin :
Install-Module PSWritePDF -Force
Pour mettre à jour le module :
Update-Module PSWritePDF
Mini script pour merge deux PDF :
$FilePath1 = "$PSScriptRoot\Input\OutputDocument0.pdf"
$FilePath2 = "$PSScriptRoot\Input\OutputDocument1.pdf"
$OutputFile = "$PSScriptRoot\Output\OutputDocument.pdf" # Shouldn't exist / will be overwritten
Merge-PDF -InputFile $FilePath1, $FilePath2 -OutputFile $OutputFile