Get-CMWindowsServicingPlan
取得 Windows 10 維護計劃。
PowerShell
Get-CMWindowsServicingPlan
[[-Name] <String>]
[-Fast]
[<CommonParameters>]
PowerShell
Get-CMWindowsServicingPlan
[-Id] <Int32>
[-Fast]
[<CommonParameters>]
Get-CMWindowsServicingPlan Cmdlet 會取得 Windows 10 維護計劃。
注意
從 Configuration Manager 月臺磁碟驅動器執行 Configuration Manager Cmdlet,例如 PS XYZ:\>
。 如需詳細資訊,請 參閱開始使用。
PowerShell
PS XYZ:\> Get-CMWindowsServicingPlan -Fast
此命令會取得所有 Windows 10 維護計劃。 命令不會傳回延遲屬性。
PowerShell
PS XYZ:\> Get-CMWindowsServicingPlan -Name "SvcPlan01"
此命令會傳回名為 SvcPlan01 的 Windows 10 維護方案。
表示 Cmdlet 不會自動重新整理延遲屬性。
延遲屬性包含相對沒有效率的擷取值,這可能會導致額外的網路流量並降低 Cmdlet 效能。 如果未使用延遲屬性,則應該指定此參數。
類型: | SwitchParameter |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
指定服務方案的 AutoDeploymentID。
類型: | Int32 |
別名: | AutoDeploymentId |
Position: | 0 |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
指定服務方案的名稱。
類型: | String |
Position: | 0 |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | True |
None
System.Object