I\'m currently running a PowerShell (v3.0) script, one step of which is to retrieve all the HTML files in a directory. That works great:
$srcfiles = Get-ChildItem
I am a little newer to PowerShell, but could you pipe to the where command?
$srcfiles = Get-ChildItem $srcPath | where-object {$_.extension -ne "*.htm*"}
I am not sure what the actually property you would use in place "extension" is though.