FlushAllRootDirectoriesΒΆ
Description
Removes all currently loaded root directories from the directory tree. The roots are only unloaded from the current view, the collected data remains in the database.
Syntax
FlushAllRootDirectories
Example
# PowerShell
$SOS.FlushAllRootDirectories()
Unloads all root directories from the directory tree. Use ReloadRoots to load them from the currently connected database again.
Remarks
This method does not modify the database. To delete the collected information of a scanned root directory, use RemoveRootFromDatabase.