The following action script works fine when run on Fixlet Debugger:
createfile until _eof Remove-item -Path "C:\Program Files\Delete" -Force -Recurse _eof delete __Download\powershell.ps1 move __createfile __Download\powershell.ps1 runhidden cmd /K powershell.exe -ExecutionPolicy Bypass __Download\powershell.ps1
But when run via fixlet, it encounters the following error:
Command succeeded action parameter query “Folder” with description “Please enter complete folder location” (action:78270)
Command succeeded action parameter query “Confirm” with description “Proceed with folder deletion? Y or N?” (action:78270)
Command succeeded delete No ‘C:\Program Files (x86)\BigFix Enterprise\BES Client__BESData\actionsite__Download\powershell.ps1’ exists to delete, no failure reported (action:78270)
At 19:01:28 +0800 -
Retry error, attempt 9 failed for MoveFile (C:\Program Files (x86)\BigFix Enterprise\BES Client__BESData\actionsite__createfile ,C:\Program Files (x86)\BigFix Enterprise\BES Client__BESData\actionsite__Download\powershell.ps1)
At 19:01:28 +0800 - actionsite (http://SW730EUTILPA001.visa.com:52311/cgi-bin/bfgather.exe/actionsite)
Command failed (Move of ‘C:\Program Files (x86)\BigFix Enterprise\BES Client__BESData\actionsite__createfile’ to ‘C:\Program Files (x86)\BigFix Enterprise\BES Client__BESData\actionsite__Download\powershell.ps1’ failed (2)) copy __createfile __Download\powershell.ps1 (action:78270)