VS-Code In Power Shell display the output of some commands then gets cleared by a Write command. How to stop that

Viewed 2

Batch file PS1 runs and displays command output to remove some windows programs fine. When the Write command is executed, the screen clears, and it displays the write statement and I lose the command output from the remove code. How to stop the write-Host or write-Output command from clearing the screen before the write-Host or Write-Output Data is written to the screen?

0 Answers
Related