Hey, this module is really awesome! However, the -Mirror parameter doesn't work correctly for me - it deletes all of the files I want to copy across for some reason. A way to reproduce it is:
- Copy a directory without the
-Mirror switch
- Copy the same directory with the
-Mirror and the -WhatIf switches - it will tell you that it's going to delete all the files
EDIT: After a bit more checking:
Not working: Copy-FileHash -Path C:\somePath -Destination C:\someOtherPath
Working: Copy-FileHash -Path C:\somePath\ -Destination C:\someOtherPath\
Hey, this module is really awesome! However, the
-Mirrorparameter doesn't work correctly for me - it deletes all of the files I want to copy across for some reason. A way to reproduce it is:-Mirrorswitch-Mirrorand the-WhatIfswitches - it will tell you that it's going to delete all the filesEDIT: After a bit more checking:
Not working:
Copy-FileHash -Path C:\somePath -Destination C:\someOtherPathWorking:
Copy-FileHash -Path C:\somePath\ -Destination C:\someOtherPath\