Function New-ProgressBar

This script will create a Progress Bar window using Windows Presentation Foundation. 

 
 
 
 
 
(0)
765 times
Add to favorites
5/5/2015
E-mail Twitter del.icio.us Digg Facebook
  • Display progress of Powershell action
    1 Posts | Last post December 04, 2015
    • Hi there,
      
      I'm writing a tool in C# that should mount a windows image (wim). To realize that I'm using the DISM Cmdlets provided with ADK 10. (Mount-WindowsImage) My question would be how to show the progress of the mounting action in a progressbar in C# using WPF.
      I already included the System.Management.Automation using directive and I'm using runspacefactory to execute the Powershell Commands.
      
      Does anyone have an idea how I could realize that?
      
      Thanks
      
      Sincerely
      powershellking