Exchange Server 2010 SP3 RU8 Enterprise 64 bit
Windows 2008 R2 64 bit
Run this from Powershell
test-systemhealth -adcredentials $c -verbose 2>&1 | out-file "c:\util\test.txt"
Output file is blank all information is posted on console.
The other thing is how to I pass along the credentials for test-systemhealth
test-systemhealth -adcredentials $c -verbose | FL
This prompts for username and password anyway not to get that to happen?
I tried this $c=get-credential domain\administrator that prompts me for password
Trying to write this in a script and run every day to send me a report.