Powershell and nbSetVar... - Forum

Forum Navigation
You need to log in to create posts and topics.

Powershell and nbSetVar...

Hi overthere,

I need know the result of a simple operation done with powershell

at powershell side, all works fine, i get the result.

I can retrieve the result using echo and Write-Output cmdlets, save to a file, etc.

Are there any way to get the result using VNW like publication.nbGetVar o something like this?

Thanks in advance,

David de Argentina

This sample could be useable:

 

$a = 5
$b = 9
$c = $a + $b
echo $c

This is a .ps1 script that works fine under powershell.

I need get the value of the variable $c

Any ideas?

Thanks again

 

Another info:

I can get the value i need. All works fine.

Now, i triangulate some actions using VbScript (VNW native)

The only action to be complete the job is run hidden the VbScript action.

Does any know how to hide a VbScript  process that launches a console screen?

Thanks again and again...

David de Argentina