February 2019
Intermediate to advanced
626 pages
15h 51m
English
The Test-FileCatalog command compares the content of the catalog file to the filesystem. Hashes are recalculated for each file.
If none of the content has changed, Test-FileCatalog will return Valid:
PS> Test-FileCatalog -Path C:\Temp\ACL -CatalogFilePath C:\Temp\Security\example.catValid
If a file has been added, removed, or changed, the Test-FileCatalog command will return ValidationFailed.
At this point, the Detailed parameter can be used to see which file changed.
Read now
Unlock full access