I have a feeling it has something to do with the variables passed not being correct, or something with permissions / WMI - I just tested on my end, and no luck either. (though I do not have any app pools on this machine / IIS)
Microsoft (R) Windows Script Host Version 5.8
Copyright (C) Microsoft Corporation. All rights reserved.
OK! MSExchangeAutodiscoverAppPool: STARTED
So the main line of the out put on all of them is the usless copyright info at the top there. I looked a tthis particular script and it doesn't appear to be apart of that Do you know how I'd go about making the output just be the bottom part, which is the output from this script?
There is already a solution posted on that plugin's page that I tried and did not work. I also found that same link you linked and tried that, which also did not work.