I need to know if 9 files (pdf) are created (names change) on Monday
I need to know if imp files are created (names change) on Tuesday
I need to know if 1 pdf files are created (names change) on Wednesday
Whats the best way ...
I need to know if 9 files (pdf) are created (names change) on Monday
I need to know if imp files are created (names change) on Tuesday
I need to know if 1 pdf files are created (names change) on Wednesday
Whats the best way ...
Here's some PoSH that would do the trick. Though now I realize this is the ipMonitor forum and not Server & Application Monitor. Whoops! You might still be able to make use of it; I know nothing about ipMonitor.
# get all the new files in that path that end in pdf or imp that were created today
$total_new_files = (Get-ChildItem "\\hercules100\shared\*" -Include ('*.pdf','*.imp') | ?{ $_.CreationTime.Day -eq (Get-Date).Day} | Group-Object).Count
SolarWinds solutions are rooted in our deep connection to our user base in the THWACK® online community. More than 195,000 members are here to solve problems, share technology and best practices, and directly contribute to our product development process.