• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

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

#1
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 Computer

K

Karl Mitschke

#2
Hello a5f,

> 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 Computer

smithr17

New Member
Messages
1
#4
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 Computer

Users Who Are Viewing This Thread (Users: 1, Guests: 0)