You should install the most recent one, EWS Managed API 2.2, instead of that one.
I have lots of customers that install it on their Exchange servers and lots that install it on their IIS servers. Doesn't really matter. It opens a connection to the EWS subdirectory on your CAS server. It doesn't require any other Exchange binaries. You'll need to update the Add-Type line to point to the EWS.dll you install. Do not change the Exchange2010_SP2 variable. Working with calendar data is difficult. Do you have any more specific data about what you want and need? I've got a couple of other scripts that work with calendar data... -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Kurt Buff Sent: Tuesday, December 9, 2014 3:33 PM To: [email protected] Subject: Re: [Exchange] Reporting on room bookings - Exchange 2010 SP3 OK - I think I figured part of this out. The article does state that I need to install the Exchange Managed API - I just did a bit of googling and found this: http://www.microsoft.com/en-us/download/details.aspx?id=35371 I'm not too sure about installing this on my servers - do any of you have thoughts on this, especially why I shouldn't do it? Kurt On Tue, Dec 9, 2014 at 12:24 PM, Kurt Buff <[email protected]> wrote: > I've had a request to get some stats on US room bookings, as > management is thinking of turning some of the lesser-used rooms into > offices. > > After some searching, this is the only example that I found that looks > like it would give me what I want: > > http://stackoverflow.com/questions/10921563/extract-the-report-of-room > -calendar-from-exchage-server-using-powershell-scripti > > But this line baffles me, as I don't see anything like that path or > DLL on my systems - we have a CAS server and an HT/DB server in the US > office: > > Add-Type -Path "C:\Program Files\Microsoft\Exchange\Web > Services\1.2\Microsoft.Exchange.WebServices.dll" > > Also, the script references Exchange2010 SP2, but as I stated above, > we're at SP3, so I don't know if I can just modify the line that > references that in the script. > > Can anyone point me to a script they've used for this? > > Kurt > >
