Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > PowerShell

capturing intermediate output for exchange command Move-Mailbox

Update your Vista Drivers Update Your Drivers Now!!
Closed Thread
 
Thread Tools Display Modes
Old 07-04-2008   #1 (permalink)
ambm
Guest


 

capturing intermediate output for exchange command Move-Mailbox

I am running powershell command through code and am able to get the
output/error of those commands.
If you run Move-Mailbox command before giving the final output, it shows
progress of the mailboxes being moved (i.e. opening source database, opening
destination database, moveing mail 1/100 etc.). I want to capture these
intermediate progress information. But they are not sent to STDOUT. Can you
please shed some thoughts on how I can capture these intermediate move
mailbox information? Thanks.
--
AMBM

My System SpecsSystem Spec
Old 07-07-2008   #2 (permalink)
sapienscripter's Avatar
Scripting Guru


Join Date: Jun 2008
Vista Ultimate 32bit
Syracuse, NY
 
Rep Power: 8
sapienscripter has a spectacular aura aboutsapienscripter has a spectacular aura aboutsapienscripter has a spectacular aura about
  sapienscripter is offline

Re: capturing intermediate output for exchange command Move-Mailbox

I don't believe that is possible. The cmdlet is designed to use Write-Progress.
My System SpecsSystem Spec
Closed Thread

Thread Tools
Display Modes



Similar Threads
Thread Thread Starter Forum Replies Last Post
Exchange 2007 - Mailbox management Sabo, Eric PowerShell 14 02-11-2008 10:01 AM
Can Powershell return Exchange mailbox info? Calaway PowerShell 5 01-16-2008 06:03 PM
Capturing ALL output in the transcript Kris PowerShell 13 12-09-2007 07:46 PM
Enh Request: Capturing Warning, Verbose, Debug and Host output Keith Hill PowerShell 10 09-25-2007 05:21 PM
Creating a new mailbox on Exchange 2007 huzaifa kagazwala PowerShell 5 12-04-2006 10:26 AM


Vistax64.com is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media 2005-2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51