Set-CMSoftwareUpdateDeployment
Set-CMSoftwareUpdateDeployment
Modifies a software update deployment in Configuration Manager.
構文
Parameter Set: SetSoftwareUpdateDeploymentByIdMandatory
Set-CMSoftwareUpdateDeployment -DeploymentName <String> -SoftwareUpdateId <String> [-AlertDay <DateTime> ] [-AlertTime <DateTime> ] [-AllowRestart <Boolean> ] [-AllowUseMeteredNetwork <Boolean> ] [-CollectionName <String> ] [-DeploymentAvailableDay <DateTime> ] [-DeploymentAvailableTime <DateTime> ] [-DeploymentExpireDay <DateTime> ] [-DeploymentExpireTime <DateTime> ] [-DeploymentType <DeploymentType> {Available | Required} ] [-Description <String> ] [-DisableOperationsManagerAlert <Boolean> ] [-DownloadFromMicrosoftUpdate <Boolean> ] [-GenerateOperationsManagerAlert <Boolean> ] [-GenerateSuccessAlert <Boolean> ] [-NewDeploymentName <String> ] [-PercentSuccess <Int32> ] [-PersistOnWriteFilterDevice <Boolean> ] [-ProtectedType <ProtectedType> {NoInstall | RemoteDistributionPoint} ] [-RestartServer <Boolean> ] [-RestartWorkstation <Boolean> ] [-SendWakeUpPacket <Boolean> ] [-SoftwareInstallation <Boolean> ] [-TimeBasedOn <TimeType> {LocalTime | UTC} ] [-UnprotectedType <UnprotectedType> {NoInstall | UnprotectedDistributionPoint} ] [-UseBranchCache <Boolean> ] [-UserNotification <UserNotificationType> {DisplayAll | DisplaySoftwareCenterOnly | HideAll} ] [-VerbosityLevel <VerbosityLevelType> {AllMessages | OnlyErrorMessages | OnlySuccessAndErrorMessages} ] [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: SetSoftwareUpdateDeploymentByNameMandatory
Set-CMSoftwareUpdateDeployment -DeploymentName <String> -SoftwareUpdateName <String> [-AlertDay <DateTime> ] [-AlertTime <DateTime> ] [-AllowRestart <Boolean> ] [-AllowUseMeteredNetwork <Boolean> ] [-CollectionName <String> ] [-DeploymentAvailableDay <DateTime> ] [-DeploymentAvailableTime <DateTime> ] [-DeploymentExpireDay <DateTime> ] [-DeploymentExpireTime <DateTime> ] [-DeploymentType <DeploymentType> {Available | Required} ] [-Description <String> ] [-DisableOperationsManagerAlert <Boolean> ] [-DownloadFromMicrosoftUpdate <Boolean> ] [-GenerateOperationsManagerAlert <Boolean> ] [-GenerateSuccessAlert <Boolean> ] [-NewDeploymentName <String> ] [-PercentSuccess <Int32> ] [-PersistOnWriteFilterDevice <Boolean> ] [-ProtectedType <ProtectedType> {NoInstall | RemoteDistributionPoint} ] [-RestartServer <Boolean> ] [-RestartWorkstation <Boolean> ] [-SendWakeUpPacket <Boolean> ] [-SoftwareInstallation <Boolean> ] [-TimeBasedOn <TimeType> {LocalTime | UTC} ] [-UnprotectedType <UnprotectedType> {NoInstall | UnprotectedDistributionPoint} ] [-UseBranchCache <Boolean> ] [-UserNotification <UserNotificationType> {DisplayAll | DisplaySoftwareCenterOnly | HideAll} ] [-VerbosityLevel <VerbosityLevelType> {AllMessages | OnlyErrorMessages | OnlySuccessAndErrorMessages} ] [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: SetSoftwareUpdateDeploymentByValueMandatory
Set-CMSoftwareUpdateDeployment -DeploymentName <String> -SoftwareUpdate <IResultObject> [-AlertDay <DateTime> ] [-AlertTime <DateTime> ] [-AllowRestart <Boolean> ] [-AllowUseMeteredNetwork <Boolean> ] [-CollectionName <String> ] [-DeploymentAvailableDay <DateTime> ] [-DeploymentAvailableTime <DateTime> ] [-DeploymentExpireDay <DateTime> ] [-DeploymentExpireTime <DateTime> ] [-DeploymentType <DeploymentType> {Available | Required} ] [-Description <String> ] [-DisableOperationsManagerAlert <Boolean> ] [-DownloadFromMicrosoftUpdate <Boolean> ] [-GenerateOperationsManagerAlert <Boolean> ] [-GenerateSuccessAlert <Boolean> ] [-NewDeploymentName <String> ] [-PercentSuccess <Int32> ] [-PersistOnWriteFilterDevice <Boolean> ] [-ProtectedType <ProtectedType> {NoInstall | RemoteDistributionPoint} ] [-RestartServer <Boolean> ] [-RestartWorkstation <Boolean> ] [-SendWakeUpPacket <Boolean> ] [-SoftwareInstallation <Boolean> ] [-TimeBasedOn <TimeType> {LocalTime | UTC} ] [-UnprotectedType <UnprotectedType> {NoInstall | UnprotectedDistributionPoint} ] [-UseBranchCache <Boolean> ] [-UserNotification <UserNotificationType> {DisplayAll | DisplaySoftwareCenterOnly | HideAll} ] [-VerbosityLevel <VerbosityLevelType> {AllMessages | OnlyErrorMessages | OnlySuccessAndErrorMessages} ] [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: SetSoftwareUpdateGroupDeploymentByIdMandatory
Set-CMSoftwareUpdateDeployment -DeploymentName <String> -SoftwareUpdateGroupId <String> [-AlertDay <DateTime> ] [-AlertTime <DateTime> ] [-AllowRestart <Boolean> ] [-AllowUseMeteredNetwork <Boolean> ] [-CollectionName <String> ] [-DeploymentAvailableDay <DateTime> ] [-DeploymentAvailableTime <DateTime> ] [-DeploymentExpireDay <DateTime> ] [-DeploymentExpireTime <DateTime> ] [-DeploymentType <DeploymentType> {Available | Required} ] [-Description <String> ] [-DisableOperationsManagerAlert <Boolean> ] [-DownloadFromMicrosoftUpdate <Boolean> ] [-GenerateOperationsManagerAlert <Boolean> ] [-GenerateSuccessAlert <Boolean> ] [-NewDeploymentName <String> ] [-PercentSuccess <Int32> ] [-PersistOnWriteFilterDevice <Boolean> ] [-ProtectedType <ProtectedType> {NoInstall | RemoteDistributionPoint} ] [-RestartServer <Boolean> ] [-RestartWorkstation <Boolean> ] [-SendWakeUpPacket <Boolean> ] [-SoftwareInstallation <Boolean> ] [-TimeBasedOn <TimeType> {LocalTime | UTC} ] [-UnprotectedType <UnprotectedType> {NoInstall | UnprotectedDistributionPoint} ] [-UseBranchCache <Boolean> ] [-UserNotification <UserNotificationType> {DisplayAll | DisplaySoftwareCenterOnly | HideAll} ] [-VerbosityLevel <VerbosityLevelType> {AllMessages | OnlyErrorMessages | OnlySuccessAndErrorMessages} ] [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: SetSoftwareUpdateGroupDeploymentByNameMandatory
Set-CMSoftwareUpdateDeployment -DeploymentName <String> -SoftwareUpdateGroupName <String> [-AlertDay <DateTime> ] [-AlertTime <DateTime> ] [-AllowRestart <Boolean> ] [-AllowUseMeteredNetwork <Boolean> ] [-CollectionName <String> ] [-DeploymentAvailableDay <DateTime> ] [-DeploymentAvailableTime <DateTime> ] [-DeploymentExpireDay <DateTime> ] [-DeploymentExpireTime <DateTime> ] [-DeploymentType <DeploymentType> {Available | Required} ] [-Description <String> ] [-DisableOperationsManagerAlert <Boolean> ] [-DownloadFromMicrosoftUpdate <Boolean> ] [-GenerateOperationsManagerAlert <Boolean> ] [-GenerateSuccessAlert <Boolean> ] [-NewDeploymentName <String> ] [-PercentSuccess <Int32> ] [-PersistOnWriteFilterDevice <Boolean> ] [-ProtectedType <ProtectedType> {NoInstall | RemoteDistributionPoint} ] [-RestartServer <Boolean> ] [-RestartWorkstation <Boolean> ] [-SendWakeUpPacket <Boolean> ] [-SoftwareInstallation <Boolean> ] [-TimeBasedOn <TimeType> {LocalTime | UTC} ] [-UnprotectedType <UnprotectedType> {NoInstall | UnprotectedDistributionPoint} ] [-UseBranchCache <Boolean> ] [-UserNotification <UserNotificationType> {DisplayAll | DisplaySoftwareCenterOnly | HideAll} ] [-VerbosityLevel <VerbosityLevelType> {AllMessages | OnlyErrorMessages | OnlySuccessAndErrorMessages} ] [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: SetSoftwareUpdateGroupDeploymentByValueMandatory
Set-CMSoftwareUpdateDeployment -DeploymentName <String> -SoftwareUpdateGroup <IResultObject> [-AlertDay <DateTime> ] [-AlertTime <DateTime> ] [-AllowRestart <Boolean> ] [-AllowUseMeteredNetwork <Boolean> ] [-CollectionName <String> ] [-DeploymentAvailableDay <DateTime> ] [-DeploymentAvailableTime <DateTime> ] [-DeploymentExpireDay <DateTime> ] [-DeploymentExpireTime <DateTime> ] [-DeploymentType <DeploymentType> {Available | Required} ] [-Description <String> ] [-DisableOperationsManagerAlert <Boolean> ] [-DownloadFromMicrosoftUpdate <Boolean> ] [-GenerateOperationsManagerAlert <Boolean> ] [-GenerateSuccessAlert <Boolean> ] [-NewDeploymentName <String> ] [-PercentSuccess <Int32> ] [-PersistOnWriteFilterDevice <Boolean> ] [-ProtectedType <ProtectedType> {NoInstall | RemoteDistributionPoint} ] [-RestartServer <Boolean> ] [-RestartWorkstation <Boolean> ] [-SendWakeUpPacket <Boolean> ] [-SoftwareInstallation <Boolean> ] [-TimeBasedOn <TimeType> {LocalTime | UTC} ] [-UnprotectedType <UnprotectedType> {NoInstall | UnprotectedDistributionPoint} ] [-UseBranchCache <Boolean> ] [-UserNotification <UserNotificationType> {DisplayAll | DisplaySoftwareCenterOnly | HideAll} ] [-VerbosityLevel <VerbosityLevelType> {AllMessages | OnlyErrorMessages | OnlySuccessAndErrorMessages} ] [-Confirm] [-WhatIf] [ <CommonParameters>]
詳細説明
The Set-CMSoftwareUpdateDeployment cmdlet modifies a deployment of software updates in Microsoft System Center 2012 Configuration Manager.
パラメーター
-AlertDay<DateTime>
Specifies a day, in MM/DD/YYYY format, to notify clients of new software updates.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-AlertTime<DateTime>
Specifies a time, in HH:MM format, to notify clients of new software updates.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-AllowRestart<Boolean>
Indicates whether to allow a restart following installation.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-AllowUseMeteredNetwork<Boolean>
Indicates whether to allow clients to use a metered network to download updates.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-CollectionName<String>
Specifies a name of a collection in Configuration Manager. A collection is a group of client computers.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-DeploymentAvailableDay<DateTime>
Specifies a day, in MM/DD/YYYY format, when a software update becomes available to clients. By default, the update is available immediately.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-DeploymentAvailableTime<DateTime>
Specifies a time, in HH:MM format, when a software update becomes available to clients. By default, the update is available immediately.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-DeploymentExpireDay<DateTime>
Specifies a day, in MM/DD/YYYY format, when a software update expires. To expire a software update on a certain day, set this parameter.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-DeploymentExpireTime<DateTime>
Specifies a time, in HH:MM format, when a software update expires. To expire a software update at a certain time, set this parameter.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-DeploymentName<String>
Specifies a name for a software update deployment in Configuration Manager.
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-DeploymentType<DeploymentType>
Specifies a deployment type in Configuration Manager.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-Description<String>
Specifies a description for a software update deployment.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-DisableOperationsManagerAlert<Boolean>
Indicates whether to disable System Center 2012 – Operations Manager alerts during software updates.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-DownloadFromMicrosoftUpdate<Boolean>
Indicates whether clients download updates directly from Microsoft Update.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-GenerateOperationsManagerAlert<Boolean>
Indicates whether to generate Operations Manager alerts when a software installation fails.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-GenerateSuccessAlert<Boolean>
Indicates whether to generate alerts when a software installation succeeds.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-NewDeploymentName<String>
Specifies a name for a new deployment in Configuration Manager.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-PercentSuccess<Int32>
Specifies a percentage of the update.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-PersistOnWriteFilterDevice<Boolean>
Indicates whether to install a software update on the temporary overlay and commit changes later, or commit the changes at an installation deadline or a maintenance window.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-ProtectedType<ProtectedType>
Specifies a protected type.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-RestartServer<Boolean>
Indicates whether to allow a server to restart following a software update.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-RestartWorkstation<Boolean>
Indicates whether to allow a workstation to restart following a software update.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-SendWakeUpPacket<Boolean>
Indicates whether to send a wake up packet to computers before the deployment begins. If this value is $True, Configuration Manager wakes a computer from sleep. If this value is $False, it does not wake computers from sleep. For computers to wake, you must first configure Wake On LAN.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-SoftwareInstallation<Boolean>
Indicates whether to allow the software update to install, even if the installation occurs outside of a maintenance window.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-SoftwareUpdate<IResultObject>
Specifies a software update deployment object. To obtain a software update deployment object, use the Get-CMSoftwareUpdate cmdlet.
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-SoftwareUpdateGroup<IResultObject>
Specifies a software update group object. To obtain a software update group object, use the Get-CMSoftwareUpdateGroup cmdlet.
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-SoftwareUpdateGroupId<String>
Specifies an ID for a software update group. A software update group contains individual software updates.
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-SoftwareUpdateGroupName<String>
Specifies a name for a software update group.
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-SoftwareUpdateId<String>
Specifies an ID for a software update in Configuration Manager.
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-SoftwareUpdateName<String>
Specifies a name for a software update in Configuration Manager.
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-TimeBasedOn<TimeType>
Specifies that client computers use either local or UTC time to determine the availability of a program. UTC time makes the software update available at the same time for all computers.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-UnprotectedType<UnprotectedType>
Specifies an unprotected type.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-UseBranchCache<Boolean>
Indicates whether to use Branch Cache as a distribution point for updates.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-UserNotification<UserNotificationType>
Specifies a user notification type.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-VerbosityLevel<VerbosityLevelType>
Specifies a verbosity level type, such as error messages. Valid values are:
-- AllMessages
-- OnlyErrorMessages
-- OnlySuccessandErrorMessages
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-Confirm
コマンドレットを実行する前に、ユーザーに確認を求めます。
必須? |
false |
位置は? |
named |
既定値 |
false |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-WhatIf
コマンドレットを実行するとどのような結果になるかを表示します。コマンドレットは実行されません。
必須? |
false |
位置は? |
named |
既定値 |
false |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
<CommonParameters>
このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。
入力
入力型は、コマンドレットにパイプできるオブジェクトの型です。
出力
出力型は、コマンドレットによって生成されるオブジェクトの型です。
例
Example 1: Set a deployment with expiration time
This command sets a software update deployment by using a software update name and expiration time.
PS C:\> Set-CMSoftwareUpdateDeployment -SoftwareUpdateName "CT" -DeploymentName "Contoso-test1" -NewDeploymentName "Contoso-test5" -Description "Contoso-test5-deployment" -CollectionName "All Mobile Devices" -SendWakeUpPacket $False -VerbosityLevel OnlySuccessAndErrorMessages -TimeBasedOn LocalTime -DeploymentAvailableDay 2013/11/24 -DeploymentAvailableTime 13:26 -DeploymentExpireDay 2014/7/22 -DeploymentExpireTime 4:30 -UserNotification DisplayAll -SoftwareInstallation $False -AllowRestart $False -RestartServer $False -RestartWorkstation $False -PersistOnWriteFilterDevice $True -GenerateSuccessAlert $False -PercentSuccess 99 -DisableOperationsManagerAlert $False -GenerateOperationsManagerAlert $False -ProtectedType NoInstall -UnprotectedType UnprotectedDistributionPoint -UseBranchCache $True -DownloadFromMicrosoftUpdate $False -AllowUseMeteredNetwork $False
Example 2: Start a deployment without expiration time
This command sets a software update deployment by using a software update name but no specified expiration time.
PS C:\> Set-CMSoftwareUpdateDeployment -SoftwareUpdateName "CT" -DeploymentName "Contoso-test2" -NewDeploymentName "Contoso-test6" -Description "Contoso-test6-deployment" -CollectionName "All Mobile Devices" -VerbosityLevel OnlyErrorMessages -TimeBasedOn LocalTime -DeploymentAvailableDay 2013/12/24 -DeploymentAvailableTime 3:56 -UserNotification DisplaySoftwareCenterOnly -PersistOnWriteFilterDevice $True -DisableOperationsManagerAlert $False -GenerateOperationsManagerAlert $False -ProtectedType NoInstall -UnprotectedType UnprotectedDistributionPoint -UseBranchCache $True -DownloadFromMicrosoftUpdate $False -AllowUseMeteredNetwork $False
Example 3: Start a deployment by software update group name and expiration time
This command sets a software update deployment by using a software update group name and an expiration time.
PS C:\> Set-CMSoftwareUpdateDeployment -SoftwareUpdateGroupName "CTG" -DeploymentName "Contoso-test3" -NewDeploymentName "Contoso-test7" -Description "Contoso-test7-deployment" -CollectionName "All Mobile Devices" -SendWakeUpPacket $False -VerbosityLevel OnlySuccessAndErrorMessages -TimeBasedOn LocalTime -DeploymentAvailableDay 2013/11/24 -DeploymentAvailableTime 13:26 -DeploymentExpireDay 2014/7/22 -DeploymentExpireTime 4:30 -UserNotification DisplayAll -SoftwareInstallation $False -AllowRestart $False -RestartServer $False -RestartWorkstation $False -PersistOnWriteFilterDevice $True -GenerateSuccessAlert $False -PercentSuccess 99 -DisableOperationsManagerAlert $False -GenerateOperationsManagerAlert $False -ProtectedType NoInstall -UnprotectedType UnprotectedDistributionPoint -UseBranchCache $True -DownloadFromMicrosoftUpdate $False -AllowUseMeteredNetwork $False
Example 4: Start a deployment by software update group name
This command starts a software update deployment by using a software update group name but no specified expiration time.
PS C:\> Set-CMSoftwareUpdateDeployment -SoftwareUpdateGroupName "CTG" -DeploymentName "Contoso-test4" -NewDeploymentName "Contoso-test8" -Description "Contoso-test8-deployment" -CollectionName "All Mobile Devices" -VerbosityLevel OnlyErrorMessages -TimeBasedOn LocalTime -DeploymentAvailableDay 2013/12/24 -DeploymentAvailableTime 3:56 -UserNotification DisplaySoftwareCenterOnly -PersistOnWriteFilterDevice $True -DisableOperationsManagerAlert $False -GenerateOperationsManagerAlert $False -ProtectedType NoInstall -UnprotectedType UnprotectedDistributionPoint -UseBranchCache $True -DownloadFromMicrosoftUpdate $False -AllowUseMeteredNetwork $False