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
 

Pop-EnvironmentBlock

Pop-EnvironmentBlock

pscx.dll

Synopsis

PSCX Cmdlet: Pops the topmost environment block.

Syntax

Pop-EnvironmentBlock [<CommonParameters>]

Detailed Description

Pops the environment block and restores the state of all environment variables to the values stored in the environment block.

Parameters

Input Type


Return Type


Notes

Examples

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

Restores the current set of environment variables from the set at the top of the environment block stack.

C:\> Pop-EnvironmentBlock

Push-EnvironmentBlock
Set-PathVariable
Add-PathVariable
Get-PathVariable