SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,702 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi,
I need to develop powershell script to run SSISpackage using dtexec
below is my code.
$dtexecLocation="D:\Program Files (x86)\Microsoft SQL Server\130\DTS\Binn\DTExec.exe"
$dtexecLocation /FILE "D:\SSIS\abc.dtsx" /CONFIGFILE "D:\SSIS\abc.config"
I am getting Unexpected token 'FILE' in expression or statement.
Thanks,
Siva.
Hi @Sivasankar Rebba,
Why not directly use dtexec to run the package?
Such as:
DTExec /FILE "D:\SSIS\abc.dtsx" /CONFIGFILE "D:\SSIS\abc.config"
Regards,
Zoe Hui
If the answer is helpful, please click "Accept Answer" and upvote it.