When running PowerShell script as a scheduled task some Exchange 2010 database properties are null
- by barophobia
Hello,
I've written a script that intends to retrieve the DatabaseSize of a database from Exchange 2010. I created a new AD user for this script to run under as a scheduled task. I gave this user admin rights to the Exchange Organization (as a last resort during my testing) and local admin rights on the Exchange machine.
When I run this script…