On Tue, Apr 16, 2013 at 12:59 PM, Michael B. Smith
<mich...@smithcons.com> wrote:
>> Some of these functions return values, which are captured into variables
>> by the caller.  But these functions also want to inform the user of what's
>> going on.  *And*, I'd also like to be able to optionally redirect the output
>> of the script as a whole, externally.
>
> ...and that is exactly why I have a 'msg' function (and I always had one
> in vbscript, too). It provides a single point of control for output 
> generation.

  I kind of suspected that was going to be the answer.  Indeed, when
you mentioned what "msg" did, that's what made me think of my script
-- which has a "LogMsg" function that serves much the same purpose.
But I was wondering if I missed something.

  Thanks again for all your help, PoSh and otherwise!

-- Ben

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe ntsysadmin

Reply via email to