Set-SPExcelBIServer

針對Excel Services指定現有 BI 伺服器的描述。

Syntax

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

Description

使用 Set-SPExcelBIServer Cmdlet 為Excel Services指定現有 BI 伺服器的描述。

範例

--------------------範例---------------------

$sa = Get-SPServiceApplication | ?{$_.TypeName -eq 'Excel Services Application Web Service Application'}
Set-SPExcelBIServer -Identity "ExcelServices" -ExcelServiceApplication $sa

參數

-AssignmentCollection

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.

附註:使用 Global 參數時,所有物件會包含在全域儲存區內。 若未立即使用物件,或未使用 Stop-SPAssignment 命令處置物件,將會發生記憶體不足的狀況。

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

-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

-Description

指定 Analysis Server 的描述。

Type:String
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應用程式 Web 服務應用程式。此類型必須是格式為 12345678-90ab-cdef-1234-567890bcdefgh 的有效 GUID;伺服器陣列中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

-Identity

指定 ExcelServiceApplication 身分識別。

Type:SPExcelBIServerPipeBind
Position:0
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

輸入

Microsoft.Office.Excel.Server.Cmdlet.SPExcelBIServerPipeBind

Microsoft.Office.Excel.Server.Cmdlet.SPExcelServiceApplicationPipeBind Microsoft.SharePoint.PowerShell.SPAssignmentCollection

輸出

系統.物件