Weird command line behavior in Powershell Weird command line behavior in Powershell powershell powershell

Weird command line behavior in Powershell


it works, if you are omitting the "<" I/O redirect.

C:\>powershell.exe -NonInteractive c:\test.ps1