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.
-BackgroundColor <ConsoleColor>
Color of the console background.
-HostWidth <Int32>
Width of the text buffer (texts longer than the number provided will wrap to the next line.
-Persist <SwitchParameter>
Persist the console setting provided
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).