In a modern copy of windows, you can also:
powershell -Command cat "<file name>"
The only HEADS UP:
powershell YourScriptFile.ps1
It will NOT be executed by default unless you change the system security settings ... as I found out when I tried to create the "cat" command. However, for one or two airliners like this, why bang your head against a wall when you can take advantage of this in most modern systems.
source share