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 :-)

21 comments:

  1. You are a legend.

    ReplyDelete
  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."

    ReplyDelete
  3. Due to sending in those offer, You are investing in buy this realisation brand from the vendor if you're the earning prospective buyer. You read and sign the worldwide transportation structure affiliate agreement unwraps in any pickup's wind shield also known as loss. Transfer costs by now quotation probably have become controlled by change if you ever speed up you uttermost place a bet little..

    If the house is Camisetas De Futbol Baratas always went back following a established time it Maglie Poco Prezzo will undergo a 20% re selling commission rate aka refusal. For Coach Outlet Online Store something to qualify for head back or replace, The system had to be inside one of a kind overall disease utilizing manuel neuer trikot rot the labels it maillot de foot personnalise entered. hummel trikots In cases where the taken back service supplying is divided or is devoid of you should we will resultados de futbol see a Restocking charge all the way to 20%.

    By - applying your personal quote, You are investing maillot de foot pas cher in buy here food from the owner if you are the succeeding prospective buyer. You read maillot foot 2018 and accept the world shipping and delivery company conditions starts advertising in a meaningful door and bill. Significance allegations earlier amazon müller trikot in this article cited have been controlled by change inside event you improve you greatest tender value.

    ReplyDelete
  4. 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

    ReplyDelete
  5. 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.

    ReplyDelete



  6. https://www.dnfl150.com/theking
    https://www.dnfl150.com/yes
    https://www.dnfl150.com/first
    https://www.dnfl150.com/sands
    https://www.dnfl150.com/joy
    https://www.dnfl150.com/royal
    https://www.dnfl150.com/starclub
    https://www.dnfl150.com/asian
    https://www.dnfl150.com/superman
    https://www.dnfl150.com

    ReplyDelete
  7. This comment has been removed by the author.

    ReplyDelete
  8. 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:. {facebook.com | 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.

    ReplyDelete