I want to be able to run the following Powershell commands from within my c# application and receive the output as they arrive(progress).
Ive tried some of the solutions but i either cant seem to get them working or I'm just doing something completely wrong..
The commands are:
Import-Module AppVPkgConverter
Get-Command -Module AppVPkgConverter
ConvertFrom-AppvLegacyPackage -DestinationPath "C:\Temp" -SourcePath "C:\Temp2"
Currently I'm just executing a ps1 file which is not ideal as i cant see the output.
Any help or a bit of code would be appreciated..
Thanks