The most recent content from our members.
I am looking for a script that will monitor file existence, file age, and file size of a backup to a ftp server in our environment. There is a file that gets backed up every hour and I need the script to be able to return the values for name, age, and size. Each backup file has a similar naming convention (ex:…
Hello, I have some troubles with a custom file count script. The script should alert me when there is no new file in the directory for about 60 minutes. Script: $path = '\\server' $stats = 0 $msg = '' $days = 0 $hours = 3 $minutes = 0 $files = @(Get-ChildItem -Path $path) if ($files -ne $null) { $f_names =…
It looks like you're new here. Sign in or register to get started.