This was a pretty simple command to create and only took me a few minutes. Basically I needed to be able to set the search center for a site collection. You can do this via the browser by going to http://[portal]/[site collection]/_layouts/enhancedSearch.aspx. The command I created is called gl-setsearchcenter
.
The code for this is beyond simple – it was just a matter of setting a string based property via the AllProperties collection:
1string url = Params["url"].Value;