Capturing Write-Progress from Export-Mailbox cmdlet in WinForms C#

Answered Capturing Write-Progress from Export-Mailbox cmdlet in WinForms C#

  • 2012年7月20日 17:27
     
     

    Hi All,

    I'm writing a wrapper for some Exchange cmdlets in C# to automate user archival in my organization.  The Export-Mailbox cmdlet uses what I believe to be the Write-Progress cmdlet to issue a progress bar in Powershell.  Is there a way to collect those Write-Progress events and use them to Update a WinForms progress bar?

    Thanks!

すべての返信