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.   


  3. #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

  4. #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

  5. #4



    Newbie
    Join Date : Dec 2007
    Posts : 1
    Vista 64 Bit Business
    Local Time: 11:52 AM


     

    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
Progress bar Live Mail
Progress PowerShell
Displaying progress ? PowerShell
zero progress Vista General
Work in progress Avalon