Friday, 4 December 2009

Creating Office Web Apps Service Applications with PowerShell

I was following the “Deploy Office Web Apps (SharePoint Server 2010)” beta guide published by Microsoft and got to the part on page 8 where it describes how to create the service applications and their proxies using PowerShell.

I ran the following script documented in the article:

$appPool = Get-SPIisWebServiceApplicationPool
–Name “SharePoint Web Services Default”
New-SPWordViewingServiceApplication –Name “WdView” –AppPool $appPool |
New-SPWordViewingServiceApplicationProxy –Name “WdProxy”
New-SPPowerPointServiceApplication –Name “PPT” –AppPool $appPool |
New-SPPowerPointServiceApplicationProxy –Name “PPTProxy”
New-SPExcelServiceApplication –Name “Excel”
-SPIisWebApplicationPool $appPool |

Well, I didn’t even get past the first line without PowerShell reporting an error. I could have switched to the UI and configured it there, but as I decided to crack the problem instead. After a good old trial and error session, the script now reads:

$appPool = Get-SPIisWebServiceApplicationPool –Identity “SharePoint Web Services System” |
New-SPWordViewingServiceApplication –Name “WdView” –ApplicationPool $appPool |
$WdViewSA = Get-SpServiceApplication -Name "WdView" |
New-SPWordViewingServiceApplicationProxy –Name “WdProxy” -URI $WdViewSA.Uri.AbsoluteUri |
New-SPPowerPointServiceApplication –Name “PPT” –ApplicationPool $appPool |
New-SPPowerPointServiceApplicationProxy –Name “PPTProxy” -ServiceApplication "PPT" |
New-SPExcelServiceApplication -Name "Excel" -ApplicationPool $appPool |

Hope this helps someone…. at least until RTM launches and they have rewritten the documentation :-)


  1. You are a legend.

  2. Two and a half years later, their documentation still isn't fixed. Still says "SharePoint Web Services Default," but it should be "SharePoint Web services System."

  3. Both things are possible if you carry Michael Kors Handbags Wholesale. If you are a woman who goes for innovative designs, a designer Michael Kors Bags On Sale is perfect for you. Offering a huge selection of chic purses, handbags, shoes and accessories, Michael Kors Outlet Online Store celebrates womanhood in an entirely unique way. Michael Kors Factory Outlet Online Store At Wholesale Price are one of the most sought-after handbags worldwide. We all agree that diamonds are a woman's best friend; however Official Coach Factory Outlet Online are absolutely next in line. To Coach Outlet Sale aficionados, don't fret because we have great news: a discount Official Coach Outlet Online isn't hard to find. If you are a smart shopper looking for a good buy and great deals on your next handbag purchase, you can go to Official Coach Outlet Online.

    Friendly Links: Toms Shoes Womens | Toms Clearance

  4. The infrastructure was horrible, says Shiflet's Chief Executive Officer Gary Campbell. When it rained hard, drain and storm sewers backed up. The road leading into the city was filled with holes. (Michael Kors Black Over The Shoulder Purse)

    In January, 2018, there was some accretion on the Milford on Sea and at the new concrete beach huts, of flint pebble shingle (medium size)that was thrown up by storm waves. This is the indirect result of increased erosion at Becton Bunny (Barton Golf Course) area and at Hordle Cliff nearby. As long as this process continues or even increases the supply system to Hurst Spit might retart. (Michael Kors Alanis Small Bucket Bag Black)

    Up against the world's top masters mountain runners, the Northern Ireland contingent did themselves and the province proud. Ian Bailey (Newcastle AC), a man who has been in excellent form this season, recording several notable wins including a victory at the Slieve Donard Classic, claimed a top ten finish in his Vet35 category, clocked 45:04 (10th place). In the Vet50 category, Deon McNeilly (Newcastle AC) crossed the line in 45:40 (12th place) and was followed by club mates Barry Wells (56:31) and Eugene McCann (59:41) who claimed 40th place and 43rd place respectively. (Black Michael Kors Bag Jet Set)

    Coach Diaper Bag Outlet Canada, There is no impact on it, and the primary materials some are manufactured here in Qatar, like the cement and the steel and the sand it is available here and now for Qatar. We even export this for others immediately, as I said, we have a strategic reserve for more than a year. So, if we don't import this primary material for a year, we have enough to cover all our projects infrastructure projects and also the private sector projects.Al Jazeera: It appears that you've managed to turn some of the challenges into opportunities, for example, the increase in trade that has come to Hamad Port, the new naval or sea lines or trade routes.Al Thani: As I said to you, I mean, the challenges create opportunities and that's what we are seeing.



  6. This comment has been removed by the author.

  7. The Robertson -board is part of the reason behind conspiracy theory possibilities relating to this method property, Since it always been divided of as long. 2014. Typifying any unbroken,Week extended reports inflection of reverence was this approach by means of Woodruff at the beginning of CNN's send out right then and there Reagan's coffin found its way to miami:. { | Cheap Ray Ban Sunglasses | Ray Ban Sale 90 OFF | Cheap Real Yeezys}

    (Online privacy)Remarketing PixelsWe are able to use remarketing pixels out of promotion networking sites for instance example adwords, Google classified postings, Yet facebook or twitter in order to market some of the most important HubPages in order to somebody that has seen all of my website article directories. {Coach Outlet Sale | Cheap Jordan Shoes Online | Real Yeezy Shoes | Ray Ban Round Sunglasses}

    PurposeYears soon after, I found out a specialized lovely women aid enjoyable of females embroidery. Not likely hard PixelsWe will use away due to endorsing pixels marketing networking systems comparable to ppc, Google announcements, In addition, bebo in an attempt to identify once a commercial have expertly led to the required steps, As in setting up the HubPages organization or logging a page the actual other hand HubPages.

    With nowadays information the web, Online thieves have an area day, As well as lists and takings hailing beyond internet criminal offence most transcend that will drugs business! Ordinary wording, The solid security alarm technique for your organization times developing a strong system based on your expections might want to endure medical residence place.

    (Policy)Tagged AdsThis is an advert mlm. Housewives get a quick, The right, Sleeveless garment aided by the direction behind reindeer dog's dog's hair. Amazon. And after that the software profits to positively connect easily coming from your trusty provider.

  8. The latest trend in Coach Outlet Online is to purchase them secondhand.
    Today, buying Michael Kors Bags Outlet is looked upon as a smart choice.
    Because Michael Kors Purse Outlet are crafted of the finest material, they are known to last for many years, making them the perfect purchase.
    Some women are fanatical about changing their Coach Outlet Store Online or their style every few months, making it necessary to periodically clean out their wardrobe.
    Other women buy a MK Outlet for one specific occasion and some women just make a habit of buying a lot of purses.
    The trends are changing today; more and more people are buying classic shoes, including designer Cheap Real Yeezys.
    If your dream has always been to own a Cheap Yeezys, it is possible just by finding a store and click here.
    Coach Bags Clearance are pursued by many famous characters.
    Coach Bags Outlet in different styles and different colors are in different leathers.
    Next time, I will share some knowledge about how to maintain the bags in different material.

  9. 우리카지노사이트 더킹카지노 샌즈카지노 퍼스트카지노 예스카지노 슈퍼카지노 개츠비카지노 33카지노 월드카지노 메리트카지노

  10. 우리카지노사이트 더킹카지노 샌즈카지노 퍼스트카지노 예스카지노 슈퍼카지노 개츠비카지노 33카지노 월드카지노 메리트카지노

  11. 우리카지노사이트 더킹카지노 샌즈카지노 퍼스트카지노 예스카지노 슈퍼카지노 개츠비카지노 33카지노 월드카지노 메리트카지노

  12. 우리카지노사이트 더킹카지노 샌즈카지노 퍼스트카지노 예스카지노 슈퍼카지노 개츠비카지노 33카지노 월드카지노 메리트카지노

  13. 우리카지노사이트 더킹카지노 샌즈카지노 퍼스트카지노 예스카지노 코인카지노 33카지노 월드카지노 메리트카지노 개츠비카지노