When a PowerShell script is launched in a Windows command prompt, it display the correct amount of files under a shared drive.
But when the Logmon probe is used to call the script the result is always 0.
The Nimsoft Robot Watcher service is started by Local System account
Release : 9.2.0
Component : UIM LOGMON
Either set a Domain account with Administrator privilege to start the Nimsoft Robot Watcher service where the Logmon probe is installed or set "Run as User" in Setup TAB of Logmon probe.