Getting menu titles by script

For the app permission list I want to give the SysAdmin the menu name together with the app-name. He can then easily decide what permissions to give it.
My Question: Is there a way for a script to read the menu title and menu name?