Scripting Integrator - Online Help
Scripting Integrator
Questions / Feedback?

AddVariable Method

Sets the value of a variable in the PowerShell Runspace.

Syntax

[VB.NET]
Public Sub AddVariable(ByVal Name As String, ByVal Value As String)
[C#]
public void AddVariable(string name, string 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.

 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 1.0.6240.0