in reply to Re: Convert from c# to Perl
in thread Convert from c# to Perl
Because when you pipe commands through psexec, you cant parse through it. It throws it in a different format. Ive tried it a few times. for example..
$var = `psexec \\server netstat -n`;shouldn't display what psexec does unless you print $var, but it does
Thanks for the code! I was close, but never would have figured out the BYREF Variant values.
Is there a way to display the output of this command?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Convert from c# to Perl
by repellent (Priest) on Aug 10, 2010 at 22:38 UTC | |
by alwaysuseperl (Novice) on Aug 10, 2010 at 23:54 UTC | |
by repellent (Priest) on Aug 12, 2010 at 06:30 UTC | |
by alwaysuseperl (Novice) on Aug 10, 2010 at 23:27 UTC |