KB Article #176150
Are PowerShell scripts supported by Transfer CFT?
Problem
--Does CFT support PowerShell scripts in addition of the usual .bat scripts
Resolution
--PowerShell scripts cannot be called directly from a CFTRECV EXEC
--PowerShell script can called from the .bat post transfer procedure
Note:
When Transfer CFT variables are needed from within the PowerShell script, they have to be passed as arguments.
Example:
rem -- this is the batch end-of-transfer script
set PART=&PART
set IDT=&IDT
powershell C:\path\script.ps1 %PART% %IDT%