Checking if the file size is the same as the master although its an okay way to check if both files are the same,it would be better to check the hashes of both files, since that way you would ensure the contents of both files are the same.
Here is a reference from microsoft documentation in powershell about this topic,
The line in question is the following
Checking if the file size is the same as the master although its an okay way to check if both files are the same,it would be better to check the hashes of both files, since that way you would ensure the contents of both files are the same.
Here is a reference from microsoft documentation in powershell about this topic,
The line in question is the following