Reset-SPProjectQueueSettings
將所有 Project Server 佇列設定重設為其特定 Project Server 服務應用程式的預設值。
Syntax
Reset-SPProjectQueueSettings
[-ServiceApplication <PsiServiceApplicationPipeBind>]
[-AssignmentCollection <SPAssignmentCollection>]
[<CommonParameters>]
Description
將所有 Project Server 佇列設定重設為其特定 Project Server 服務應用程式的預設值。
如需 Project Server Windows PowerShell的許可權和最新資訊,請參閱 () https://go.microsoft.com/fwlink/p/?LinkId=251833 線上檔 https://go.microsoft.com/fwlink/p/?LinkId=251833 。
範例
--------------------範例---------------------
$sa = Get-SPServiceApplication | ?{$_.TypeName -eq 'Project Application Services'}
Reset-SPProjectQueueSettings -ServiceApplication $sa
此範例會重設 Project Server 服務應用程式服務應用程式的佇列設定。
參數
-AssignmentCollection
{{Fill AssignmentCollection Description}}
Type: | SPAssignmentCollection |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Applies to: | Project Server 2013, Project Server 2016, Project Server 2019 |
-ServiceApplication
指定要設為目標的 Project Server 服務應用程式。
此類型必須是格式為 12345678-90ab-cdef-1234-567890bcdefgh 的有效 GUID;Project Server 服務應用程式的有效名稱, (例如 ProjectServiceApp1) ;或有效 PsiServiceApplication 物件的實例。
Type: | PsiServiceApplicationPipeBind |
Aliases: | sa |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Applies to: | Project Server 2013, Project Server 2016, Project Server 2019 |