What does "- <" mean when you run powershell?

Viewed 1107

The recommended way to run scripts is

powershell.exe -NonInteractive -Command " & some.ps1 "

However for example TeamCity PowerShell runner uses:

powershell.exe -NonInteractive -Command - < some.ps1

I do not have an idea what "- <" means and cannot find any information on subject. Any help?

4 Answers
Related