Device: Windows Desktop
Goal: create directory file list (text file) POST copy routine
Summary:
- Package contains N number of files to be copied to a specific folder
- Prescript creates file list BEFORE copy (via Powershell)
- Postscript creates file list AFTER copy (via Powershell)
- Syntax: start powershell.exe c:\temp\DirPost.ps1
- Powershell scripts are located in c:\temp directory
I'm not able to get Powershell to run. I can call it via the script window without issue but it fails to run via the package postscript. I've considered using "shellexecute" but SOTI doesn't provide a list of "VERBS".
---- extract from SOTI Help file ----
shellexecute filepath -verb [-wseconds]
Where
- -verb is the action you want the shell to execute
- -w tells the command to wait for the specified length of time (in seconds) before executing
---------------------------------------