Below are basic settings that can be configured in the Control pannel > Power Options > Change plan settings > Change advanced power options. This script will automate the process of configuring your power plan. What you type will automatically be updated in the "Output" area.
Note: If you are using a desktop and received 6 sequential error messages that say "The power scheme, subgroup, or setting does not exist" you can safely ignore these as they relate to battery levels and actions.