I have confirmed that the location and file is correct and that the file is present before the deletion. If I run the script i will be presented with a block of red text stating permission denied.
If I unc path to the same location and right click the file i can delete the file no problem. The file is set to read only i am not sure if this is a problem with the remove-item cmdlet. I have used the -force command which should make it delete the file regardless.
Also just to confirm that the script isnt the culprit i tried the one liner below with no luck as well.