Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.


Go Back   Vista Forums > Misc Newsgroups > PowerShell

RB

Vista - Reading the Powershell progress bar (activity + progress) with C#

Reply
 
09-20-2007   #1
a5f


 
 

Reading the Powershell progress bar (activity + progress) with C#

hi,
i have an application which uses the Exchange Management Console (2007).
It uses it through the RunSpace object (the code is written in C#).
How do i read the progress bar when i execute the move-mailbox cmdlet?
I've tried many different methods and didn't come up with an idea.
I'll be glad to solve this problem since i'm working on it for quite some
time and I didn't find any documentation about it.

thanks.

My System SpecsSystem Spec
09-20-2007   #2
Karl Mitschke


 
 

Re: Reading the Powershell progress bar (activity + progress) with C#

Hello a5f,
Quote:

> hi,
> i have an application which uses the Exchange Management Console
> (2007).
> It uses it through the RunSpace object (the code is written in C#).
> How do i read the progress bar when i execute the move-mailbox cmdlet?
> I've tried many different methods and didn't come up with an idea.
> I'll be glad to solve this problem since i'm working on it for quite
> some
> time and I didn't find any documentation about it.
> thanks.
Do you mean the CONSOLE, or the Shell?

If you mean you are scripting the shell using RunSpace, I will see what I
can find - I am using this extensivly via ASPX pages written in C#

However, I have not needed a progress bar to this point.

Karl


My System SpecsSystem Spec
09-20-2007   #3
a5f


 
 

I do mean the SHELL

I'm sorry, i meant i'm scripting the shell using the runspace object.
Thanks a lot!
My System SpecsSystem Spec
12-30-2007   #4


Vista 64 Bit Business
 
 

Re: Reading the Powershell progress bar (activity + progress) with C#

I am trying to do the same thing. Did anyone come up with a way to do it. I figured it must be possible since the Exchange Management Console displays the move-mailbox progress and they claim to use all powershell in the console.
My System SpecsSystem Spec
Reply

RB


Thread Tools


Similar Threads for: Reading the Powershell progress bar (activity + progress) with C#
Thread Forum
Progress Status VB Script
Progress bar Live Mail
very strange progress bar Graphic cards
Progress PowerShell
zero progress Vista General


Vista Forums 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 Ltd