When I try to over write an existing file that exists in a folder I get an error saying
file is being used by another process
Does anybody know how I can override this. I have tried the following, but no luck:
Copy-Item $backupDirectoryPathAndFolderName "C:\Program Files\TESTFOLDER" -Recurse -Container -Force