Assembly: System.Management.Automation (in System.Management.Automation.dll)
The user interface model is based on a two-dimensional grid of cells referred to as the screen buffer. This buffer, in turn, includes a visible rectangular region called a window. Looking at this buffer in greater detail, each cell of the grid has a character, foreground color, and background color associated with it. When the buffer has input focus, it shows a cursor positioned in one cell.
Keystrokes can be read from the buffer and optionally echoed at the current cursor position.