Why is "<" input redirect not implemented in PowerShell?

Viewed 18256

Why is input redirection not implemented in PowerShell?

To do something like this:

mysql -u root < create.sql

I had to switch to "cmd.exe".

Is there an alternative way of doing this in PowerShell?

Please note that the output redirection ">" is implemented in PowerShell. Please consider this before giving an answer.

2 Answers
Related