Skip to content

Latest commit

 

History

History
10 lines (7 loc) · 350 Bytes

check_files_count.md

File metadata and controls

10 lines (7 loc) · 350 Bytes

Description:

Counts the files in a directory and give a list if -ListFiles is True

Example Usage:

Basic: Count Files and show result .\check_files_count.ps1 -Path "C:" -warning 5 -critical 10 -Listfiles $True'

Count Files with the file extension .ps1 and show result .\check_files_count.ps1 -Path "C:*.ps1" -warning 50 -critical 100