I am on V9 and the technique I have used is to have PowerShell echo the desired value, and then use a post-process script to scrape the report and use the returned value.
I have not experimented with it, but I think V11 is supposed to have a better way to accomplish this.