New-SPExcelBIServer

将 Analysis Services 服务器配置为使用Excel Services。

语法

New-SPExcelBIServer
   [-AssignmentCollection <SPAssignmentCollection>]
   [-Confirm]
   [-Description <String>]
   -ExcelServiceApplication <SPExcelServiceApplicationPipeBind>
   -ServerId <String>
   [-WhatIf]
   [<CommonParameters>]

说明

使用New-SPExcelBIServer cmldet 将 Analysis Services 服务器配置为使用Excel Services。

示例

------------------示例------------------

New-SPExcelBIServer -ExcelServiceApplication "MyExcel" -ServerID "MSS01"

此示例将分析服务器配置为使用名为 MyExcel 和 MSS01 的 ServerID 的 Excel 服务应用程序。

参数

-Confirm

提示你在运行 cmdlet 之前进行确认。

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server 2010, SharePoint Server 2013

-ExcelServiceApplication

指定包含 SPExcelFileLocation 列表对象的 Excel Services Application Web 服务应用程序。该类型必须是有效的 GUID,格式为 12345678-90ab-cdef-1234-567890bcdefgh;场中Excel Services应用程序 Web 服务应用程序的有效名称 (例如 MyExcelService1) ;或有效的 SPExcelServiceApplication 对象的实例。

Type:SPExcelServiceApplicationPipeBind
Position:Named
Default value:None
Accept pipeline input:True
Accept wildcard characters:False
Applies to:SharePoint Server 2010, SharePoint Server 2013

-ServerId

Analysis Services 服务器的名称

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server 2010, SharePoint Server 2013

-WhatIf

显示在 cmdlet 运行时发生的情况。 此 cmdlet 未运行。

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server 2010, SharePoint Server 2013

-工作分配

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.

注意: 使用全局参数时,所有对象都包含在全局存储中。 If objects are not immediately used, or disposed of by using the Stop-SPAssignment command, an out-of-memory scenario can occur.

Type:SPAssignmentCollection
Position:Named
Default value:None
Accept pipeline input:True
Accept wildcard characters:False
Applies to:SharePoint Server 2010, SharePoint Server 2013

-描述

指定 Analysis 服务器的说明

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server 2010, SharePoint Server 2013

输入

Microsoft.Office.Excel.Server.Cmdlet.SPExcelServiceApplicationPipeBind

Microsoft.SharePoint.PowerShell.SPAssignmentCollection

输出

System.Object