Contact Info

Crumbtrail

ActiveXperts.com » Administration » Powershell » Powershell 2.0 » Get-Host

Get-Host - Powershell 2.0 CmdLet

Microsoft Windows PowerShell is a command-line shell and scripting tool based on the Microsoft .NET Framework. It is designed for system administrators, engineers and developers to control and automate the administration of Windows and applications.

More than hundred command-line tools (so called "cmdlets") can be used to perform system administration tasks and Windows Management Instrumentation (WMI). These cmdlets are easy to use, with standard naming conventions and common parameters, and standard tools for piping, sorting, filtering, and formatting data and objects.

Get-Host


Short description
Gets an object that represents the current host program. And, displays Windows PowerShell version and regional info
rmation by default.

Syntax
Get-Host [<CommonParameters>]

Description
The Get-Host cmdlet gets an object that represents the program that is hosting Windows PowerShell.

The default display includes the Windows PowerShell version number and the current region and language settings tha
t the host is using, but the host object contains a wealth of information, including detailed information about the
 version of Windows PowerShell that is currently running and the current culture and UI culture of Windows PowerShe
ll. You can also use this  cmdlet to customize features of the host program user interface, such as the text and ba
ckground colors.