This is a brief description and how-to of the recently released openutils-mgnlgroovy module.
openutils-mgnlgroovy is a custom open source Magnolia module which adds a console for running groovy scripts inside the magnolia admin interface. Nothing fancy, but a very handy tool, which allows for leveraging all the power of Groovy+Java within Magnolia for all kinds of administrative tasks, without the need for precompiling and deploying any Java class just to accomplish a simple task.
After installation, you should see a new groovy menu item under tools, like in the picture below
You can upload your scripts or write them directly in the editor. In both cases you get 'real-time' syntax highlighting and line numbers which can be very useful to spot problematic instructions in case of errors during execution.