07-21-2023, 07:15 PM
I want my PowerShell script to print something like this:
Enabling feature XYZ......Done
The script looks something like this:
Write-Output "Enabling feature XYZ......."
Enable-SPFeature...
Write-Output "Done"
But `Write-Output` always prints a new-line at the end so my output isn't on one line. Is there a way to do this?
Enabling feature XYZ......Done
The script looks something like this:
Write-Output "Enabling feature XYZ......."
Enable-SPFeature...
Write-Output "Done"
But `Write-Output` always prints a new-line at the end so my output isn't on one line. Is there a way to do this?