RpcResponse - resultObject

Hi,
i have some PS script were i calculate exchange database details…and i need to return to my Rule some values from this script…

i use postScript and runAfterScript params…

all working fine… just can not see any response … tried to enter some messages ,errors… some attributes… nothing. but if i print the result object on IQService server log… it does hold my attributes…

Can you help me please?

*p.s i tried before script as well…

Thanks

i was able to resolve this by adding those lines
$env:Result = $resultObject.toxml();
$resultObject.toxml()|out-file $args[0];