This forum is closed. Thank you for your contributions.
Can i set an Website's App Pool in IIS using the bat file or any other scripts?
This is not a C# issue. I suggest you post to the IIS forum.
https://forums.iis.net/