I am having an issue changing file permissions on files that have been moved. I have been able to run the script with admin permissions when using the icals command, however, the command is not available on all the PC's i need to use the script on. Below is what I have so far.
What SHOULD be happening is:
1. The script looks for any files in C:\\Pictures\Camera Roll\
2. If files are found, move the files to C:\Recordings\\ on the local PC
2a. I the C:\Recordings\ folder does not exist, it is created
3. Change the permissions by adding a security group. Should be recursive to all files and folders in C:\Recordings