Discovering folders

Hi,

I have a lot of questions about monitoring folders and files within these folders. The monitoring, I can do with a powershell script and at this moment I use the Filesystem Managemenpack for discovering the folders. I need a folder object to target the monitor on. With these managementpack I need to share the folder first, discovering the share and then all folders in this share. What I want is: discovering a folder and/or his subfolders without first creating these shares. Can anyone help me with this script in powershell?

Regards, Luc

The Community Catalogue (https://squaredup.com/content/management-packs/the-scom-community-mp-catalog/) has Bert Pinoy’s MP:

https://github.com/bpinoy/ManagementPacks/tree/master/File%20Count%20MP

This sounds as though it’s what you’re after, and perhaps breaking down the MP will help?

What are you looking to monitor in these folders?