- create catalog for the source directory:
New-FileCatalog -Path source -CatalogFilePath source.cat -CatalogVersion 2.0
- test the destination directory against the source catalog:
Test-FileCatalog -Path destination -CatalogFilePath source.cat
Both New-FileCatalog and Test-FileCatalog cmdlets only work in PowerShell 5.1 and later, if you are on Windows 7 or 8.1, follow the link to upgrade your PowerShell.
No comments:
Post a Comment