Change the Guest Portal password and email administrator

 

 

To run this module you need to watch this video to setup your gmail account with 2 factor authentication (required.)

This script will list your WLANs, generate a new random password, PUT the password into your guest portal and send the administrator and email with the new password.  This was written as generic code that can be modified to your own purposes.  We strongly advise you watch the AI for IT course available from your UI.

There is a massive amount of information about Python and the Google API on youtube and the web we recommend you take advantage of it.

For this script to work we created a file called “myconfig” to keep my private sender credentials.  It is called by the script and looks like this:

This script has been built from these 2 pages.     2

Scripts available here

Success!