Hey Scripting guy, I read few of your forum solutions for the scripts and was really enthralled to embrace this powershell scripting, thanks for the motivation.
I am still a learner and want to learn more, I had to do a script on generating an excel report which consisted of number of files of files in PDF format for each directory and sub-directory in the path.
I used the,
get-childitem $Path -recurse | where {$_.Extension -match "pdf"}
command, all I wanted to know is how to count the number of PDF files in each sub directory, please help me out,
Thanks in advance