Sometimes it only takes a little tweaking to make a native command run well inside PowerShell. For example, this line runs in cmd.exe but fails in PowerShell:
find "dir" *.ps1
As it turns out, the command requires the quotes, and PowerShell interprets them as string delimiter and removes them. So to make the command work, you should use this instead:
find /I /N '"dir"' *.ps1