Skip to content

Latest commit

 

History

History
102 lines (87 loc) · 8.66 KB

File metadata and controls

102 lines (87 loc) · 8.66 KB

Cmdlets

Here lists all cmdlets provided from ImageStore.

Database

Operates on database connection or shrinks database.

Command Alias Description
Open-ImageStoreDatabase OpenDatabase Sets connection string and opens connection to the target database.
Compress-ImageStoreDatabase ShrinkDatabase, CompressDatabase, Shrink-ImageStoreDatabase Runs ShrinkDatabase command in connected database to shrink the size of the data and log files.
Close-ImageStoreDatabase CloseDatabase Closes the connection to the database.

Folder

Manages folders.

Command Alias Description
Add-ImageStoreFolder AddFolder Creates and adds a folder record to database.
Clear-ImageStoreEmptyFolders ClearEmptyFolder Clears empty directories from file system within the folder specified.
Find-ImageStoreFolder FindFolder Finds the record related to the folder by name.
Get-ImageStoreFolder GetFolder Gets the record related to the folder by id.
Remove-ImageStoreFolder RemoveFolder Removes the folder record specified from database.
Search-ImageStoreFolder SearchFolder Searches all folders records matched with the conditions provided.
Sync-ImageStoreFolder SyncFolder Syncs the database to make records consistent with file system.
Update-ImageStoreFolder UpdateFolder Updates the folder record by the entity provided.

Extension

Manages extensions.

Command Alias Description
Add-ImageStoreExtension AddExtension Creates and adds an extension to database.
Find-ImageStoreExtension FindExtension Finds the record related to the extension by name.
Get-ImageStoreExtension GetExtension Gets the record by id.
Remove-ImageStoreExtension RemoveExtension Removes the extension record specified from database.
Search-ImageStoreExtension SearchExtension Searches all extensions records matched with the conditions provided.
Update-ImageStoreExtension UpdateExtension Updates the extension record by the entity provided.

Ignored Directory

Manages the directories excluded from folders.

Command Alias Description
Add-ImageStoreIgnoredDirectory AddIgnoredDirectory Creates and adds an ignored directory record to database.
Find-ImageStoreIgnoredDirectory FindIgnoredDirectory Finds the record related to the ignored directory by all properties.
Get-ImageStoreIgnoredDirectory GetIgnoredDirectory Gets the record of ignored directory by id.
Remove-ImageStoreIgnoredDirectory RemoveIgnoredDirectory Removes the ignored directory record specified from database.
Search-ImageStoreIgnoredDirectory SearchIgnoredDirectory Searches all ignored directory records matched with the conditions provided.
Update-ImageStoreIgnoredDirectory UpdateIgnoredDirectory Updates the ignored directory record by the entity provided.

File

Manages files and computes hashing results.

Command Alias Description
Add-ImageStoreFile AddFile Creates and adds a file record to database.
Find-ImageStoreFile FindFolder Finds the record related to the file by folder, path and file name.
Get-ImageStoreFile GetFile Gets the record related to the file by id.
Measure-ImageStoreFile MeasureFile Computes hashing result of the file specified.
Measure-ImageStoreFiles MeasureFiles Computes hashing result of the files within the folder specified.
Move-ImageStoreFile MoveFile Moves the file record specified and the pointed file to the target folder and directory.
Remove-ImageStoreDirectory RemoveDirectory Removes the directory specified, including all files and sub directories, from database and file system.
Remove-ImageStoreFile RemoveFile Removes the file record specified and the pointed file.
Rename-ImageStoreFile RenameFile Renames the file record specified and the pointed file.
Resolve-ImageStoreFile ResolveFile Gets the full path of the file specified.
Search-ImageStoreFile SearchFile Searches all files records matched with the conditions provided.
Update-ImageStoreFile UpdateFile Updates the file record by the entity provided.

Same File

Generates, manages and deals with same files records based on file hashing result using Sha1 algorithm.

Command Alias Description
Clear-ImageStoreSameFileObsoletedGroups ClearSameFileObsoletedGroups Clears same file groups which have only one record left.
Compare-ImageStoreSameFiles CompareSameFiles Compares file hashing result and generates same file groups.
Get-ImageStoreSameFile GetSameFile Gets the record of same file by id.
Hide-ImageStoreSameFile HideSameFile Marks the record of same file as ignored.
Remove-ImageStoreSameFile RemoveSameFile Removes the same file record specified.
Remove-ImageStoreSameFileGroup RemoveSameFileGroup Removes same file records by file hashing result specified.
Search-ImageStoreSameFile SearchSameFile Searches all same file records matched with the conditions provided.
Select-ImageStoreSameFile SelectSameFile Deals with found same files and selects records for further operating, like removal.
Show-ImageStoreSameFile ShowSameFile Marks the record of same file as effective, not ignored.
Update-ImageStoreSameFile UpdateSameFile Updates the same file record by the entity provided.

Similar File

Generates, manages and deals with similar files records based on image hashing result using priHash algorithm.

Command Alias Description
Clear-ImageStoreThumbprintCache ClearThumbprintCache Deletes all thumbprint cache data used by Resolve-ImageStoreSimilarFiles.
Clear-ImageStoreThumbprintCacheFolder ClearThumbprintCacheFolder Disables thumbprint cache function by clearing the path setting of the cache folder.
Compare-ImageStoreSimilarFiles CompareSimilarFiles Compares image hashing result and generates similar file relation records.
Get-ImageStoreSimilarFile GetSimilarFile Gets the record of similar file relation by id.
Hide-ImageStoreSimilarFile HideSimilarFile Marks the record of similar file relation as ignored.
Remove-ImageStoreSimilarFile RemoveSimilarFile Removes the record of similar file relation specified.
Reset-ImageStoreSimilarFiles ResetSimilarFiles Removes all records of similar file relations and reset all file records to the state before comparing similar files.
Resolve-ImageStoreSimilarFiles ResolveSimilarFiles Deals with found similar files and selects files for further operating, like removal.
Search-ImageStoreSimilarFile SearchSimilarFile Searches all records of similar file relations matched with the condition provided.
Set-ImageStoreThumbprintCacheFolder SetThumbprintCacheFolder Enables thumbprint cache function by setting the path setting of the cache folder.
Show-ImageStoreSimilarFile ShowSimilarFile Marks the record of similar file relation as effective, not ignored.
Update-ImageStoreSimilarFile UpdateSimilarFile Updates the record of similar file relation by the entity provided.