note that this works as well with a later call to Exchange's command Enable-OutlookAnywhere. The Exchange 2007/2010/2013 cmdlet correctly determines the website name and ID and sets its MetabasePath property correctly according to the site ID.
You can later verify the results with call to:
Get-OutlookAnywhere | fl *
so it works similarly even in SBS (small business server) environment.