"Missing an argument for parameter" error when you use the "Set-SPPowerPointServiceApplication" command on a SharePoint server that is running PowerPoint Online

Article translations Article translations
Article ID: 982964 - View products that this article applies to.
Expand all | Collapse all

Symptoms

Consider the following scenario:
  • You run a Microsoft Office Online program that installs PowerPoint Services on a server. This server is running Microsoft SharePoint Server 2010 or Microsoft SharePoint Foundation 2010.
  • You start the SharePoint 2010 Management Shell on the server. To do this, click Start, click All Programs, click Microsoft SharePoint 2010, and then click SharePoint 2010 Management Shell.
  • You enter a command at the console prompt that uses one of the following parameters for the Set-SPPowerPointServiceApplication command:
    • DisableBinaryScan
    • EnableSandboxedEditing
    • EnableSandboxedViewing
    • EnableViewing97To2003Formats
    • EnableViewingOpenXmlFormats

    For example, you enter the following command to enable the viewing of PowerPoint Online OpenXML-formatted documents on the server that is running PowerPoint Services:
    Get-SPPowerPointServiceApplication | Set-SPPowerPointServiceApplication –EnableViewingOpenXmlFormats
In this scenario, you receive an error message that resembles the following:
Set-SPPowerPointServiceApplication : Missing an argument for parameter 'EnableViewingOpenXmlFormats'. Specify a parameter of type 'System.Boolean' and try again.
At line:1 char:101
+ Get-SPPowerPointServiceApplication | Set-SPPowerPointServiceApplication -EnableViewingOpenXmlFormats <<<<
+ CategoryInfo : InvalidArgument: (:) [Set-SPPowerPointServiceApplication], ParameterBindingException
+ FullyQualifiedErrorId : MissingArgument,Microsoft.Office.Server.Powerpoint.SharePoint.PowerShell.SetSPPowerPointServiceApplication

Cause

This issue occurs because the parameters for the Set-SPPowerPointServiceApplication command require a separate Boolean argument, such as $true or $false, for the value.

Resolution

To resolve this issue, provide the required argument when you use the Set-SPPowerPointServiceApplication command.

For example, type the following command to enable the viewing of PowerPoint Online OpenXML-formatted documents on the server that is running PowerPoint Services:
Get-SPPowerPointServiceApplication | Set-SPPowerPointServiceApplication –EnableViewingOpenXmlFormats:$true

More information

For more information about the Set-SPPowerPointServiceApplication command, visit the following TechNet website:
Set-SPPowerPointServiceApplication

Properties

Article ID: 982964 - Last Review: April 22, 2014 - Revision: 2.2
Applies to
  • Microsoft PowerPoint Online
Keywords: 
kbexpertiseinter kbprb kbtshoot kbsurveynew KB982964

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com