I want my PowerShell script to print something like this:
Enabling feature XYZ......Done
The script looks something like this:
$host.UI.Write('Enabling feature XYZ.......') Enable-SPFeature... $host.UI.WriteLine('Done')