Powershell script to copy 2 folders into a user's roaming profile
Posted on 2014-07-11
Our users are running an application called TM1 which on opening is meant to put 2 folders in their profile under the AppData folder. Due to an application bug of seeming to not put the 2 folders in if users are running roaming profiles, we just need a script or process that copies 2 folders from a location into their profile into the AppData . If at all possible to check if the folders are there first and if they are do nothing and if they aren't there, to copy them in.
Is there an easy way of doing this with batch or PowerShell scripts?
Thanks v much