Contact Info

Crumbtrail

ActiveXperts.com » Administration » Powershell » Powershell 3.0 » Get-Variable

Get-Variable - Powershell 3.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-Variable

Short description
Gets the variables in the current console.

Syntax
Get-Variable [[-Name] <String[]>] [-Exclude <String[]>] [-Include <String[]>] [-Scope <String>] [-ValueOnly] [<CommonPa
rameters>]





Description
The Get-Variable cmdlet gets the Windows PowerShell variables in the current console. You can retrieve just the values 
of the variables by specifying the ValueOnly parameter, and you can filter the variables returned by name.