What a pain in the *you know what*! You need to install this to utilize advanced features like eDiscovery and Work Management in SharePoint 2013. You have to download the installer, then run the following command (as it puts the dll in the GAC):
msiexec /i EwsManagedApi.msi addlocal="ExchangeWebServicesApi_Feature,ExchangeWebServicesApi_Gac"
Well...if you have copied the double byte double quote (") into your command...you get the dreaded 2271 error. You can always use the msiexec's logging abilities by doing the following:
msiexec /i EwsManagedApi.msi addlocal="ExchangeWebServicesApi_Feature,ExchangeWebServicesApi_Gac" /L*V "install.log"
Which will of course then tell you:
MSI (c) (8C:80) [08:56:44:768]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 2711
DEBUG: Error 2711: The specified Feature name ('”ExchangeWebServicesApi_Feature') not found in Feature Table.
Lovely...