Partager via


PowerTip: View PowerShell Console Host Information

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