ID:2668509
 
(See the best response by Lummox JR.)
Code:
    verb/test()
var/x=test2()



proc/test2(a)
return shell("powershell netstat -a -n -o | findstr 9090")


Problem description: I'm trying to get an ID on Windows (using PowerShell) and then save it to a VAR..... this is possible in some way ??

Best response
I don't recall if shell() takes a return value. Seems like it'd be easier to write your result into a file and file2text() that.