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

PowerTip: Use PowerShell to Determine Host

$
0
0

Summary: Use Windows PowerShell to find your PowerShell host.

Hey, Scripting Guy! Question How can I use Windows PowerShell to determine what PowerShell host is being used?

Hey, Scripting Guy! Answer Use the Get-Host cmdlet. To get only the name of the host, use the following syntax:

(Get-Host).name


Viewing all articles
Browse latest Browse all 3333

Trending Articles