Quantcast
Channel: Windows PowerShell Forum
Viewing all articles
Browse latest Browse all 2562

Does PowerShell Support Find?

$
0
0

I am using PowerShell on Windows Server 2008 R2 and Windows Server 2012.  In both instances, when I try to use the find command, I always get this:

FIND: Parameter format not correct

From within PowerShell, I can run cmd and then the same commands invoking find will work (assuming they aren't PowerShell commands).  I can then type exit to close cmd.  This is annoying, but workable, until I need to use find for actual PowerShell commands.  Note that both of the following examples consistently return the error above in PowerShell:

<PowerShellCommand> | find "text"

find "text" .\<filename>

I have also tried without punctiuation, with ` instead, and with ' instead in hopes that " was somehow deprecated.  None of these trials make a difference.


Viewing all articles
Browse latest Browse all 2562

Trending Articles