New-SPWordViewingServiceApplicationProxy

 

Applies to: Word Online

Topic Last Modified: 2010-02-11

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

Creates a new service application proxy for use with the Word Viewing Service application.

Syntax

New-SPWordViewingServiceApplicationProxy -URI <Uri> [-AssignmentCollection <SPAssignmentCollection>] [-Confirm [<SwitchParameter>]] [-Name <String>] [-NotInDefaultProxyGroup <SwitchParameter>] [-WhatIf [<SwitchParameter>]]

New-SPWordViewingServiceApplicationProxy -ServiceApplication <SPServiceApplicationPipeBind> [-AssignmentCollection <SPAssignmentCollection>] [-Confirm [<SwitchParameter>]] [-Name <String>] [-NotInDefaultProxyGroup <SwitchParameter>] [-WhatIf [<SwitchParameter>]]

Detailed Description

The New-SPWordViewingServiceApplicationProxy cmdlet creates a new service application proxy for the Word Viewing Service application. Administrators use this object to associate Word Viewing Service applications with those Web applications for which the viewing functionality of the Word Web App should be available.

Parameters

  Required Type Description

Name

Required

System.String

Specifies a unique name of the service application proxy to create. The default value is WordViewingServiceApplicationProxy_<GUID>..

ServiceApplication

Required

Microsoft.SharePoint.PowerShell.SPServiceApplicationPipeBind

Specifies the identifier for the service application to which this proxy connects.

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

NotInDefaultProxyGroup

Optional

System.Management.Automation.SwitchParameter

Prevents the addition of the newly provisioned proxy to the default proxy group.

Valid values are True or False. The default value is False.

URI

Required

System.Uri

Specifies the URI of a remote service application to which to connect.

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 1-----------

New-SPWordViewingServiceApplication -Name "My Service Application" -ApplicationPool "SharePoint Web Services Default" | New-SPWordViewingServiceApplicationProxy -Name "My Service Proxy"

This example creates new Word Viewing Service Application, My Service Application, and uses the newly created Word Viewing Service Application proxy, My Service Application Proxy.