In Sapien PowerShell Studio, writing a powershell script........
Using Write-Host to display a message to the Output doesn't seem to take background color or newline (`r`n). Is there something I need to enable in the options to allow this? Running in PowerShell ISE has no issues. Thanks,
Software - Output Console window
Forum rules
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
- angelofstealth
- Posts: 69
- Last visit: Wed Sep 28, 2022 10:04 am
Re: Software - Output Console window
Newline works, color doesn't
Example:
Write-Host "`r`nHey..."-ForegroundColor Green
Example:
Write-Host "`r`nHey..."-ForegroundColor Green
- angelofstealth
- Posts: 69
- Last visit: Wed Sep 28, 2022 10:04 am