Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: Determine Name of PowerShell Host

$
0
0

Summary: Learn how to determine the name of the Windows PowerShell host.

Hey, Scripting Guy! Question How can I find the name of the Windows PowerShell host (such as the Windows PowerShell console or
           the Windows PowerShell ISE)?

Hey, Scripting Guy! Answer Use the Get-Host cmdlet and select the Name property:

(get-host).name


Viewing all articles
Browse latest Browse all 3333

Trending Articles