Windows desktop applications
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PSVariableIntrinsics.Set Method

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Sets a variable for the session. The variants of this method set a variable based on a PSVariable object or its name.

Namespace:   System.Management.Automation
Assembly:  System.Management.Automation (in System.Management.Automation.dll)

NameDescription
System_CAPS_pubmethodSet(PSVariable)

Sets a variable defined by a PSVariable object.

System_CAPS_pubmethodSet(String, Object)

Sets a variable using a specified variable name and value.

Return to top

Community Additions

Show:
© 2016 Microsoft