cancel
Showing results for 
Search instead for 
Did you mean: 
bardeev
Level 11

Number of Subdirectories

Jump to solution

Hi,

How can I count the number of subdirectories in the target directory?

I found the File Count Monitor, does the same for directories?

0 Kudos
2 Replies
Highlighted
aLTeReGo Product Manager
Product Manager

Re: Number of Subdirectories

Jump to solution

Something like this? Directory Count Monitor

If I had more time I would've used WMI so it wouldn't require WinRM for remote execution, but this was fast and easy. If you're not in the mood to configure WinRM on your remote host however, this can be used as-is with the Orion Agent. If you'd prefer something that works agentlessly, this could be rewritten to use WMI via PowerShell with additional work and a little help from the folks in the Script Lab‌.

bardeev
Level 11

Re: Number of Subdirectories

Jump to solution

You once again helped me out. Thank you very much!

0 Kudos