to create a string containing a line of X's: $line = "x"*77 to change the Powershell window title: $host.UI.RawUI.WindowTitle = $host.UI.RawUI.WindowTitle ="PS Window ...