Summary: Use Windows PowerShell to find your PowerShell host.
How can I use Windows PowerShell to determine what PowerShell host is being used?
Use the Get-Host cmdlet. To get only the name of the host, use the following syntax:
(Get-Host).name
Summary: Use Windows PowerShell to find your PowerShell host.
How can I use Windows PowerShell to determine what PowerShell host is being used?
Use the Get-Host cmdlet. To get only the name of the host, use the following syntax:
(Get-Host).name
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