Prevent PowerShell expression from clearing output

18 Views Asked by At

My PowerShell scripts executes towards its end an external executable using Invoke-Expression.

Invoke-Expression "$($config._resguy) $mapname -missing"

However, this clears from the console any previous output. How can I prevent that?

0

There are 0 best solutions below