One of our own, over in the GalaxyNexusForums sister-site, has created an amazing tool for the Samsung Galaxy Nexus. The tool is called, "Wug's Galaxy Nexus Root Toolkit," and was created by developer, WugFresh. It has a slew of amazing one-click features for those who want to play around with unlocking the bootloader or rooting the Galaxy Nexus. This utility can unlock the bootloader and root your device, or take you back to factory stock, with a single click of the “Unlock + Root” or “Unroot + OEM Lock” functions. You can even install the latest Samsung drivers and SDK with a single click. Nice work, WugFresh!
You can check out detailed installation instructions and get the download link at the source link below.