I am currently uploading files to an Azure blob via a scheduled Powershell script. Is there any way that I can do a check to make sure that the files have uploaded successfully? I am writing to a log file, but I want to delete the files that have uploaded from my on-prem storage after the upload.
The files have unique names. Is there any way I can do a compare > create file on-prem after successful compare? I'd then be able to create a script that would only delete the files if this file existed.
Thanks.