I created a script that creates an email attachment from a .csv file. At the end of the script I would like to delete the file but i am getting the following error. How can I release the lock on the file without closing the powershell window?
↧
I created a script that creates an email attachment from a .csv file. At the end of the script I would like to delete the file but i am getting the following error. How can I release the lock on the file without closing the powershell window?