New Features:
- New parameters: Staging, Logging, LogDirectory, LogsToKeep, IntervalDays.
- Time parameter now accepts both a date and a time. The date specifies the starting day.
- Log of the console output is now written to a file and optionally emailed, if the script runs via scheduled task.
- Staging parameter allows for testing with LE's staging server and without restarting FMS.
- Certificate files are backed up before being overwritten.
- Admin Console credentials can be securely stored/retrieved which makes external authentication an option, rather than a requirement. However, there is an intermittent bug related to this, described in Issue #1.
- User is not prompted for confirmation to install NuGet.
- Wait up to 60 seconds for LE to process requests.
- Start WPE if it was running before this script stopped the server, but wasn't after it started the server.
- Open database files any were open before this script stopped the server, but none were open after it started the server.
Bug Fixes:
- Scheduled Task does not run when user is not logged in.
- Cannot enter username and password if prompted by fmsadmin and had previously aborted this in the current shell session. https://community.filemaker.com/thread/191306