Set-CMSoftwareUpdateDeployment
Set-CMSoftwareUpdateDeployment
Modifies a software update deployment in Configuration Manager.
Syntax
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>]
Detailed Description
The Set-CMSoftwareUpdateDeployment cmdlet modifies a deployment of software updates in Microsoft System Center 2012 Configuration Manager.
Parameters
-AlertDay<DateTime>
Specifies a day, in MM/DD/YYYY format, to notify clients of new software updates.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-AlertTime<DateTime>
Specifies a time, in HH:MM format, to notify clients of new software updates.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-AllowRestart<Boolean>
Indicates whether to allow a restart following installation.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-AllowUseMeteredNetwork<Boolean>
Indicates whether to allow clients to use a metered network to download updates.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-CollectionName<String>
Specifies a name of a collection in Configuration Manager. A collection is a group of client computers.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
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.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
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.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
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.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
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.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-DeploymentName<String>
Specifies a name for a software update deployment in Configuration Manager.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-DeploymentType<DeploymentType>
Specifies a deployment type in Configuration Manager.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-Description<String>
Specifies a description for a software update deployment.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-DisableOperationsManagerAlert<Boolean>
Indicates whether to disable Operation Manager alerts while the program installs a software update.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-DownloadFromMicrosoftUpdate<Boolean>
Indicates whether clients download updates directly from Microsoft Update.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-GenerateOperationsManagerAlert<Boolean>
Indicates whether to generate Operations Manager alerts when a software installation fails.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-GenerateSuccessAlert<Boolean>
Indicates whether to generate alerts when a software installation succeeds.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-NewDeploymentName<String>
Specifies a name for a new deployment in Configuration Manager.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-PercentSuccess<Int32>
Specifies a percentage of the update.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
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.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-ProtectedType<ProtectedType>
Specifies a protected type.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-RestartServer<Boolean>
Indicates whether to allow a server to restart following a software update.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-RestartWorkstation<Boolean>
Indicates whether to allow a workstation to restart following a software update.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-SendWakeUpPacket<Boolean>
Indicates whether the Configuration Manager server sends a Wake On LAN packet to the computer prior to the advertised program.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-SoftwareInstallation<Boolean>
Indicates whether to allow the software update to install, even if the installation occurs outside of a maintenance window.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-SoftwareUpdate<IResultObject>
Specifies a software update deployment object. To obtain a software update deployment object, use theGet-CMSoftwareUpdate cmdlet.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-SoftwareUpdateGroup<IResultObject>
Specifies a software update group object. To obtain a software update group object, use the Get-CMSoftwareUpdateGroup cmdlet.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-SoftwareUpdateGroupId<String>
Specifies an ID for a software update group. A software update group contains individual software updates.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-SoftwareUpdateGroupName<String>
Specifies a name for a software update group.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-SoftwareUpdateId<String>
Specifies an ID for a software update in Configuration Manager.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-SoftwareUpdateName<String>
Specifies a name for a software update in Configuration Manager.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
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.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-UnprotectedType<UnprotectedType>
Specifies an unprotected type.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-UseBranchCache<Boolean>
Indicates whether to use Branch Cache as a distribution point for updates.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-UserNotification<UserNotificationType>
Specifies a user notification type.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-VerbosityLevel<VerbosityLevelType>
Specifies a verbosity level type, such as error messages. Valid values for this parameter are: AllMessages, OnlyErrorMessages, and OnlySuccessandErrorMessages.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-Confirm
Prompts you for confirmation before running the cmdlet.
Required? |
false |
Position? |
named |
Default Value |
false |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Required? |
false |
Position? |
named |
Default Value |
false |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
Outputs
The output type is the type of the objects that the cmdlet emits.
Examples
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