Windows Vista Forums

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

  1. #1


    a5f Guest

    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

  2. #2


    Karl Mitschke Guest

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

    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 System SpecsSystem Spec

  3. #3


    a5f Guest

    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

  4. #4


    Join Date : Dec 2007
    Posts : 1
    Vista 64 Bit Business
    Local Time: 12:23


     

    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

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

Similar Threads
Thread Forum
In progress
Just wanted to give the crew a big warm greeting, this morning. Congrats, in advance, for the progress that you will make, today, helping others.
Chillout Room
Progress bar
I remember that, every time I was checking my mail with OE, a window with a progress bar would pop up, detailing the actual operation ( sending...
Live Mail
Progress
Hi! Is there anyway to display any kind of progress when doing some big loop using foreach? I need to compare all files from dvd ( 5MB each so a...
PowerShell
Download Progress
When downloading an email, etc. I no longer get the download progress screen to let me know how long it will take or when it has completed. Please...
Vista performance & maintenance
Displaying progress ?
Hey all, I was thinking... I'm running that log script right now, through gigs and gigs of logfiles. Is there a way to display progress, other...
PowerShell
zero progress
Downloaded 2 programs today... 1 a game and the other Windows Live Messenger. On both occasions I have run the install/setup program and done the...
Vista General
Shut Up & Eat Progress !!
http://www.dailytech.com/article.aspx?newsid=9027
Vista General