Set-SPWordViewingServiceApplicationProxy

 

Applies to: Word Web App Preview

Topic Last Modified: 2010-02-11

Banner stating end of support date for Office 2010 with link to more info

Sets a global value for a Word Viewing Service application proxy.

Syntax

Set-SPWordViewingServiceApplicationProxy [-Identity] <SPServiceApplicationProxyPipeBind> [-AssignmentCollection <SPAssignmentCollection>] [-Confirm [<SwitchParameter>]] [-SilverlightOnly <SwitchParameter>] [-WhatIf [<SwitchParameter>]]

Detailed Description

The Set-SPWordViewingServiceApplicationProxy cmdlet sets a global value for a Word Viewing Service application proxy.

Parameters

Parameter Required Type Description

Identity

Required

Microsoft.SharePoint.PowerShell.SPServiceApplicationProxyPipeBind

Specifies the unique name that identifies the service application proxy.

AssignmentCollection

Optional

Microsoft.SharePoint.PowerShell.SPAssignmentCollection

Manages objects for the purpose of proper disposal. Use of objects, such as SPWeb or SPSite, can use large amounts of memory and use of these objects in Windows PowerShell scripts requires proper memory management. Using the SPAssignment object, you can assign objects to a variable and dispose of the objects after they are needed to free up memory. When SPWeb, SPSite, or SPSiteAdministration objects are used, the objects are automatically disposed of if an assignment collection or the Global parameter is not used.

Note

When the Global parameter is used, all objects are contained in the global store. If objects are not immediately used, or disposed of by using the Stop-SPAssignment command, an out-of-memory scenario can occur.

Confirm

Optional

System.Management.Automation.SwitchParameter

Prompts you for confirmation before executing the command. For more information, type the following command: get-help about_commonparameters

SilverlightOnly

Optional

System.Management.Automation.SwitchParameter

Requires Microsoft Silverlight 3 to be installed to view Microsoft Word documents.

WhatIf

Optional

System.Management.Automation.SwitchParameter

Displays a message that describes the effect of the command instead of executing the command. For more information, type the following command: get-help about_commonparameters

Input Types

Return Types

Example

---------------EXAMPLE------------

Get-SPServiceApplication -Name "My Service Application" | New-SPWordViewingServiceApplicationProxy -Name "My Service Proxy" | Set-SPWordViewingServiceApplicationProxy -SilverlightOnly:$true

This example creates a new Word Viewing Service application proxy, associates the proxy with My Service Application and sets all users of that proxy to force the use of Silverlight 3 on all renditions.