Getting output from proxied Active Directory connection