Contact Info

Crumbtrail

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

Get-Host - Powershell 1.0 CmdLet

ActiveXperts Network Monitor ships with integrated Powershell scripts to monitor complex network. The scripts run out of the box
Download the ActiveXperts Network Monitor FREE version now »

Get-Host

Description
Get host information

Usage


Options


Example(s)
Display Powershell version and regional information:

PS C:\>get-host

Resize the PowerShell window to 50 pixels high by 80 pixels wide:

PS C:\>$h = get-host
$win = $h.ui.rawui.windowsize
$win.height = 50
$win.width = 80
$h.ui.rawui.set_windowsize($win)