CBLT-42:  capturing command output in windows variable

Change-Id: I2bb30691d1bdaa000f50503504aa3a4e5dccddc0
Reviewed-on: http://review.couchbase.org/37245
Reviewed-by: Philip Labee <philip@couchbase.com>
Tested-by: Philip Labee <philip@couchbase.com>