In Windows, PowerShell use the following steps to compare whether the two files have been altered or not.
The other way is to actually use the hash value to compare as given below:
>Get-FileHash -path -Algorithm MD5
>Algo Hash Path
MD5 9C784349F4ZDB44A84C7958C246E3948 c:\download
It will give the hash as hash value i.e 9C784349F4ZDB44A84C7958C246E3948.
Now,
>(Get-FileHash -path -Algorithm MD5).Hash -eq (“Hashvalue”)
>True
If the value return is True then it will be a match.
To learn more about Powershell click here:
brainly.com/question/29413575
#SPJ4