We have issue with executing APPCMD and it produces empty file.
When we try with below command
AppCmd list AppPools > c:\test\test.txt
It creates a empty file.
But when we just list in cmd prompt like below is works
AppCmd list AppPools
We have opened cmd prompt as administrator as well
Am I missing anything??