Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

Push-EnvironmentBlock

Push-EnvironmentBlock

pscx.dll

Synopsis

PSCX Cmdlet: Pushes the current environment onto the environment block stack.

Syntax

Push-EnvironmentBlock [-Description] [<CommonParameters>]

Detailed Description

Stores the state of all environment variables into an environment block and pushes that onto the environment block stack.

Parameters

-Description <String>

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

Input Type


Return Type


Notes

Examples

-------------------------- EXAMPLE 1 --------------------------

C:\> Push-EnvironmentBlock -Description "Before loading VS 2010 env vars"

Add-PathVariable
Get-PathVariable
Pop-EnvironmentBlock
Set-PathVariable