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



    Newbie
    Join Date : Dec 2007
    Posts : 1
    Vista 64 Bit Business
    Local Time: 09:08 PM


     

    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# problems?

Similar Threads
Thread Thread Starter Forum Replies Last Post
Progress bar Mike Live Mail 4 26 May 2008
Progress Jarod PowerShell 4 14 Jan 2008
Displaying progress ? Jacob Saaby Nielsen PowerShell 4 04 Dec 2007
zero progress Jay Vista General 5 16 Oct 2007
Work in progress Erno Avalon 2 31 Jan 2006