PowerTip: View PowerShell Console Host Information
Summary: View Windows PowerShell console host information.
How can I easily find information about the Windows PowerShell console host?
Use the Get-Host cmdlet, and select the RawUI property from the InterhostUserInterface object:
(get-host).ui.RawUI