RE: Powershell heredoc and io redirection

2011-07-06 Thread Joseph L. Casale
Hrm, simpler than mine:) Thanks, jlc -Original Message- From: Michael B. Smith [mailto:mich...@smithcons.com] Sent: Wednesday, July 06, 2011 3:09 PM To: NT System Admin Issues Subject: RE: Powershell heredoc and io redirection @"Line 1 Line 2 Line 3 Line 4"@ | my_exe Regards

RE: Powershell heredoc and io redirection

2011-07-06 Thread Michael B. Smith
es Subject: Powershell heredoc and io redirection How does one perform the ps equiv of a bash heredoc: my_exe << EOF commands commands commands EOF The requirement of the binary is each command on a line of its own (so followed by a cr). Thanks! jlc ~ Finally, powerful endpoint security that

RE: Powershell heredoc and io redirection

2011-07-06 Thread Joseph L. Casale
>How does one perform the ps equiv of a bash heredoc: Lol, of course the next thing I tried after several failures works:) Letting a var = the heredoc, $var|my_exe I had that a bit mangled... ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~

Powershell heredoc and io redirection

2011-07-06 Thread Joseph L. Casale
How does one perform the ps equiv of a bash heredoc: my_exe << EOF commands commands commands EOF The requirement of the binary is each command on a line of its own (so followed by a cr). Thanks! jlc ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~