Note: I'm very new to Otter script so if this is simple then I apologize in advance!
Here is the main nugget of the script I've got now:
IIS::Ensure-AppPool(
Name: LonTest,
Credentials: SVC_LonTest1,
AutoStart: false,
QueueLength: 1500,
Pipeline: Integrated,
Runtime: v4.0
);
Otter does create the app pool, but it is always started even though the docs seem to indicate that "AutoStart: false" should change the value of the "Start application pool immediately" checkbox in the Basic Settings of the app pool.
What do I need to do here to make sure that value is unchecked and that the app pool is initially stopped when it is created?