August 22nd, 2013

PowerTip: View PowerShell Console Host Information

Doctor Scripto
Scripter

Summary: View Windows PowerShell console host information.

Hey, Scripting Guy! Question How can I easily find information about the Windows PowerShell console host?

Hey, Scripting Guy! Answer Use the Get-Host cmdlet, and select the RawUI property from the InterhostUserInterface object:

(get-host).ui.RawUI

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.