$count = 0
$re = [regex]"^[S-Zs-z]"
dir *.cs | foreach { if ($_.Name -match $re) { $count++ } }
$count
I found the following O'Reilly article to be helpful in getting going with WPS.
$count = 0
$re = [regex]"^[S-Zs-z]"
dir *.cs | foreach { if ($_.Name -match $re) { $count++ } }
$count