aagrawal_1
13 years agoNew Contributor
How to pass parameter in remote call
Hi,
How i can pass parameter in remote call?
Suppose my code is like
Sub Test1(para1)
'execute remote call
'add host (i want to execute this test in machine2)
'add job
'taskobj.test = Test1 (Is there any way to pass parameter para1 here?)
End Sub
Sub MainTest
Test1 para1
End Sub
In above example, when i run "MainTest" from "machine1" then it will give call to "Test1" with parameter "para1".
"Test1" will execute and it will give remote call to "machine2".
Now same test "Test1" will execute on "machine2".
Here i want, "Test1" will execute with parameter "para1" on "machine2".
-abhi