References > Template Reference > Files > File Count

File Count

This component monitor determines the number of files within a directory.

Prerequisites

WMI access on target server.

Credentials

Administrator on target server.

Monitored Components

For details on monitors, see SAM Component Monitor Types.

File Count Monitor

This component monitor determines the number of files within a directory. By default, it monitors the Documents and Settings folder situated on the target server the C:\ drive. To change target folder, you should provide the correct UNC path to the folder.

For example: \\${IP}\c$\Documents and Settings\

By default, this monitor counts the number of files, including subdirectories. If you do not need the subdirectories included, you should uncheck the Include Subdirectories option.

By default, the File Extensions Filter option is set to the wildcard [*] so that the monitor will count all files.

For example: If you need to count only ZIP archives, you should set this option to zip.