PSVariable Properties

  Name Description
public property Attributes Gets the attributes of the variable.
public property Description Gets or sets the description of the variable.
public property Module Gets information about the module that exported this variable. This property is introduced in Windows PowerShell 2.0.
public property ModuleName Gets the name of the module that exported this variable. This property is introduced in Windows PowerShell 2.0.
public property Name Gets the name of the variable.
public property Options Gets or sets the scope options of the variable.
public property Value Gets or sets the value of the variable.
public property Visibility Gets or sets whether the variable is public (visible outside the runspace where the variable is set) or private. This property is introduced in Windows PowerShell 2.0.

Send comments about this topic to Microsoft.
Show:
© 2014 Microsoft. All rights reserved.