Freigeben über


PSVariableIntrinsics Class

Definition

Exposes the APIs to manipulate variables in the Runspace.

public ref class PSVariableIntrinsics sealed
public sealed class PSVariableIntrinsics
type PSVariableIntrinsics = class
Public NotInheritable Class PSVariableIntrinsics
Inheritance
PSVariableIntrinsics

Methods

Get(String)

Gets the specified variable from session state.

GetValue(String, Object)

Gets the specified variable from session state. If the variable is not found the default value is returned.

GetValue(String)

Gets the specified variable value from session state.

Remove(PSVariable)

Removes the specified variable from session state.

Remove(String)

Removes the specified variable from session state.

Set(PSVariable)

Sets the variable.

Set(String, Object)

Sets the variable to the specified value.

Applies to