AddVariable Method
Sets the value of a variable in the PowerShell Runspace.
Object Oriented Interface
public function doAddVariable($name, $value);
Procedural Interface
inscript_powershell_do_addvariable($res, $name, $value);
Remarks
Sets the value of a PowerShell variable in the current runspace. The Name parameter specifies the variable name (without the $). The Value parameter specifies the variable value.