So I thought i would be clever get the filesize of the exchange store file (priv1.edb) as a variable and then pass it through a batch file to get me a nice report... but it seems as if Kaseya cannot get the file size if the file is busy.....

Is there a way around this? I only want to get the file size, not make any alterations...



basically what I am doing is getting the file sizes of all the exchange files (private and public store) and passing them through a batch file to get me a nice report.... It works perfectly on my test machine, but when trying it on a real server, it doesnt work and it appears it is because the file is busy.......

Please help?

Alternatively please point me in the direction of a a "safe" exchange store monitor.... I tried 2 of the scripts from this forum, one stopped the agent (and nearly my heart, since it was on an important server) and the other just doesnt work...




Legacy Forum Name: Getting a filesize variable on a locked file,
Legacy Posted By Username: Stereo