how would you do the following with psapp script:
- check if folder exists, if not create it, if exists don't do any more.
- copy ALL files from appdeployscripts "files" folder
- register-dll (this part I haven't gotten to yet.)
I've tried execute-process with arguments ""mkdir %windir%\SysWOW64\srs_rpe"" but here I can't check if folder exists OR just force it..
I tried: Execute-Process -filepath "cmd.exe" -Arguments "IF exist %windir%\SysWOW64\srs_rpe (echo srs_rpe exists) ELSE mkdir %windir%\SysWOW64\srs_rpe" -ContinueOnError
but this just hangs and gets nowhere
There must be an easier way..