PSVariableIntrinsics Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |