Creating Service Applications and Service Application Proxies for SharePoint 2010 in PowerShell

This is kind of a silly little thing really, but I just stumbled upon it because it’s one of those things that when you are trying to do it, you end up pulling your hair out trying to remember how.  Just wanted to show a rather inventive and simple method for creating a service application and proxy in basically one fell swoop.  Here you go, maybe bookmark this page for those times when you’re trying to recall how to do it so simply:

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

Anyways, thought this was kind of cool so figured I’d share.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s