Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

redirect verbose to variable

54 views
Skip to first unread message

kyrik

unread,
May 17, 2009, 5:48:31 PM5/17/09
to
hello.
How can I redirect verbose output from standard stdout to variable. I'm
writing scripts and i need to log output from some commands like copy-item
and remove-item.

kyrik.


Joel Bennett

unread,
May 17, 2009, 6:30:16 PM5/17/09
to
As far as I know, verbose output can't be redirected with the standard
PowerShell.exe host.
--
Joel

Rob Campbell

unread,
May 17, 2009, 9:04:02 PM5/17/09
to
It's kind of a kludge, but you should be able to start a transcript and then
get the information you need back out of the transcript file.
0 new messages