Sets the current host property.
Set-HostProperty [-ForegroundColor <Black | DarkBlue | DarkGreen | DarkCyan | DarkRed | DarkMagenta | DarkYellow | Gray | DarkGray | Blue | Green | Cyan | Red | Magenta | Yellow | White>] [-BackgroundColor <Black | DarkBlue | DarkGreen | DarkCyan | DarkRed | DarkMagenta | DarkYellow | Gray | DarkGray | Blue | Green | Cyan | Red | Magenta | Yellow | White>] [-HostWidth <Int32>] [-Persist]
Detailed Description
Sets the current host property and perssits them for the future if used with -Persist parameter.
© 2010-2019 Adam Najmanowicz, Michael West. All rights reserved. Sitecore PowerShell Extensions
-ForegroundColor <ConsoleColor>
Color of the console text.
Accept Wildcard Characters?
-BackgroundColor <ConsoleColor>
Color of the console background.
Accept Wildcard Characters?
-HostWidth <Int32>
Width of the text buffer (texts longer than the number provided will wrap to the next line.
Accept Wildcard Characters?
-Persist <SwitchParameter>
Persist the console setting provided
Accept Wildcard Characters?
Help Author: Adam Najmanowicz, Michael West
Set width of the console buffer to 80 and persist it for the future instances
Set color of the console text to cyan. Next instance of the console will revert to default (white).