New-SPPowerPointServiceApplication

 

Applies to: SharePoint Server 2010

Topic Last Modified: 2010-02-11

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

Creates a PowerPoint Service application.

Syntax

New-SPPowerPointServiceApplication [-Name] <String> -ApplicationPool <SPIisWebServiceApplicationPoolPipeBind> [-AssignmentCollection <SPAssignmentCollection>] [-CachePath <String>] [-Confirm [<SwitchParameter>]] [-WhatIf [<SwitchParameter>]]

Detailed Description

The New-SPPowerPointServiceApplication cmdlet creates a new instance of a PowerPoint Service application by using the Name parameter.

After the PowerPoint Service application is created, you can view, edit, and broadcast PowerPoint Service files using a Web browser.

Parameters

Parameter Required Type Description

Name

Required

System.String

Specifies the name of the Web application.

ApplicationPool

Required

Microsoft.SharePoint.PowerShell.SPIisWebServiceApplicationPoolPipeBind

Assigns an application pool that will be used by IIS for this service application.

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.

CachePath

Optional

System.String

Specifies the base folder path to a folder on the local machine where files will be cached. If not specified, the base folder path will be %TEMP%\powerpointcache

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

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

New-SPPowerPointServiceApplication -name "MyWorkgroupPPTApp" -ApplicationPool "SharePoint Web Services Default" -cachepath d:\program files\custom cache"

This example creates a new instance of the PowerPoint Service application named MyWorkgroupPPTApp, assigns it to the default application pool, and establishes custom cache location under the Program Files folder.