Summary: Learn how to determine the name of the Windows PowerShell host.
How can I find the name of the Windows PowerShell host (such as the Windows PowerShell console or
the Windows PowerShell ISE)?
Use the Get-Host cmdlet and select the Name property:
(get-host).name
0 comments