New-CMSoftwareUpdateDeployment

Creates a software update deployment

Syntax

New-CMSoftwareUpdateDeployment
   -InputObject <IResultObject>
   [-DeploymentName <String>]
   [-SavedPackageId <String>]
   [-Description <String>]
   [-DeploymentType <DeploymentType>]
   [-VerbosityLevel <VerbosityLevelType>]
   [-TimeBasedOn <TimeType>]
   [-UserNotification <UserNotificationType>]
   [-SoftwareInstallation <Boolean>]
   [-AllowRestart <Boolean>]
   [-RestartServer <Boolean>]
   [-RestartWorkstation <Boolean>]
   [-GenerateSuccessAlert <Boolean>]
   [-PercentSuccess <Int32>]
   [-TimeValue <Int32>]
   [-TimeUnit <TimeUnitType>]
   [-DisableOperationsManagerAlert <Boolean>]
   [-GenerateOperationsManagerAlert <Boolean>]
   [-ProtectedType <ProtectedType>]
   [-UnprotectedType <UnprotectedType>]
   [-UseBranchCache <Boolean>]
   [-RequirePostRebootFullScan <Boolean>]
   [-DownloadFromMicrosoftUpdate <Boolean>]
   [-AcceptEula]
   [-DistributeContent]
   [-DistributeCollectionName <String>]
   [-DistributionPointGroupName <String>]
   [-DistributionPointName <String>]
   [-Comment <String>]
   [-AvailableDateTime <DateTime>]
   [-DeadlineDateTime <DateTime>]
   [-UseMeteredNetwork <Boolean>]
   [-PersistOnWriteFilterDevice <Boolean>]
   [-SendWakeupPacket <Boolean>]
   [-CollectionName <String>]
   [-CollectionId <String>]
   [-Collection <IResultObject>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
New-CMSoftwareUpdateDeployment
   -SoftwareUpdateGroupId <String>
   [-DeploymentName <String>]
   [-SavedPackageId <String>]
   [-Description <String>]
   [-DeploymentType <DeploymentType>]
   [-VerbosityLevel <VerbosityLevelType>]
   [-TimeBasedOn <TimeType>]
   [-UserNotification <UserNotificationType>]
   [-SoftwareInstallation <Boolean>]
   [-AllowRestart <Boolean>]
   [-RestartServer <Boolean>]
   [-RestartWorkstation <Boolean>]
   [-GenerateSuccessAlert <Boolean>]
   [-PercentSuccess <Int32>]
   [-TimeValue <Int32>]
   [-TimeUnit <TimeUnitType>]
   [-DisableOperationsManagerAlert <Boolean>]
   [-GenerateOperationsManagerAlert <Boolean>]
   [-ProtectedType <ProtectedType>]
   [-UnprotectedType <UnprotectedType>]
   [-UseBranchCache <Boolean>]
   [-RequirePostRebootFullScan <Boolean>]
   [-DownloadFromMicrosoftUpdate <Boolean>]
   [-AcceptEula]
   [-DistributeContent]
   [-DistributeCollectionName <String>]
   [-DistributionPointGroupName <String>]
   [-DistributionPointName <String>]
   [-Comment <String>]
   [-AvailableDateTime <DateTime>]
   [-DeadlineDateTime <DateTime>]
   [-UseMeteredNetwork <Boolean>]
   [-PersistOnWriteFilterDevice <Boolean>]
   [-SendWakeupPacket <Boolean>]
   [-CollectionName <String>]
   [-CollectionId <String>]
   [-Collection <IResultObject>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
New-CMSoftwareUpdateDeployment
   -SoftwareUpdateGroupName <String>
   [-DeploymentName <String>]
   [-SavedPackageId <String>]
   [-Description <String>]
   [-DeploymentType <DeploymentType>]
   [-VerbosityLevel <VerbosityLevelType>]
   [-TimeBasedOn <TimeType>]
   [-UserNotification <UserNotificationType>]
   [-SoftwareInstallation <Boolean>]
   [-AllowRestart <Boolean>]
   [-RestartServer <Boolean>]
   [-RestartWorkstation <Boolean>]
   [-GenerateSuccessAlert <Boolean>]
   [-PercentSuccess <Int32>]
   [-TimeValue <Int32>]
   [-TimeUnit <TimeUnitType>]
   [-DisableOperationsManagerAlert <Boolean>]
   [-GenerateOperationsManagerAlert <Boolean>]
   [-ProtectedType <ProtectedType>]
   [-UnprotectedType <UnprotectedType>]
   [-UseBranchCache <Boolean>]
   [-RequirePostRebootFullScan <Boolean>]
   [-DownloadFromMicrosoftUpdate <Boolean>]
   [-AcceptEula]
   [-DistributeContent]
   [-DistributeCollectionName <String>]
   [-DistributionPointGroupName <String>]
   [-DistributionPointName <String>]
   [-Comment <String>]
   [-AvailableDateTime <DateTime>]
   [-DeadlineDateTime <DateTime>]
   [-UseMeteredNetwork <Boolean>]
   [-PersistOnWriteFilterDevice <Boolean>]
   [-SendWakeupPacket <Boolean>]
   [-CollectionName <String>]
   [-CollectionId <String>]
   [-Collection <IResultObject>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
New-CMSoftwareUpdateDeployment
   -SoftwareUpdateId <String>
   [-DeploymentName <String>]
   [-SavedPackageId <String>]
   [-Description <String>]
   [-DeploymentType <DeploymentType>]
   [-VerbosityLevel <VerbosityLevelType>]
   [-TimeBasedOn <TimeType>]
   [-UserNotification <UserNotificationType>]
   [-SoftwareInstallation <Boolean>]
   [-AllowRestart <Boolean>]
   [-RestartServer <Boolean>]
   [-RestartWorkstation <Boolean>]
   [-GenerateSuccessAlert <Boolean>]
   [-PercentSuccess <Int32>]
   [-TimeValue <Int32>]
   [-TimeUnit <TimeUnitType>]
   [-DisableOperationsManagerAlert <Boolean>]
   [-GenerateOperationsManagerAlert <Boolean>]
   [-ProtectedType <ProtectedType>]
   [-UnprotectedType <UnprotectedType>]
   [-UseBranchCache <Boolean>]
   [-RequirePostRebootFullScan <Boolean>]
   [-DownloadFromMicrosoftUpdate <Boolean>]
   [-AcceptEula]
   [-DistributeContent]
   [-DistributeCollectionName <String>]
   [-DistributionPointGroupName <String>]
   [-DistributionPointName <String>]
   [-Comment <String>]
   [-AvailableDateTime <DateTime>]
   [-DeadlineDateTime <DateTime>]
   [-UseMeteredNetwork <Boolean>]
   [-PersistOnWriteFilterDevice <Boolean>]
   [-SendWakeupPacket <Boolean>]
   [-CollectionName <String>]
   [-CollectionId <String>]
   [-Collection <IResultObject>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
New-CMSoftwareUpdateDeployment
   -SoftwareUpdateName <String>
   [-DeploymentName <String>]
   [-SavedPackageId <String>]
   [-Description <String>]
   [-DeploymentType <DeploymentType>]
   [-VerbosityLevel <VerbosityLevelType>]
   [-TimeBasedOn <TimeType>]
   [-UserNotification <UserNotificationType>]
   [-SoftwareInstallation <Boolean>]
   [-AllowRestart <Boolean>]
   [-RestartServer <Boolean>]
   [-RestartWorkstation <Boolean>]
   [-GenerateSuccessAlert <Boolean>]
   [-PercentSuccess <Int32>]
   [-TimeValue <Int32>]
   [-TimeUnit <TimeUnitType>]
   [-DisableOperationsManagerAlert <Boolean>]
   [-GenerateOperationsManagerAlert <Boolean>]
   [-ProtectedType <ProtectedType>]
   [-UnprotectedType <UnprotectedType>]
   [-UseBranchCache <Boolean>]
   [-RequirePostRebootFullScan <Boolean>]
   [-DownloadFromMicrosoftUpdate <Boolean>]
   [-AcceptEula]
   [-DistributeContent]
   [-DistributeCollectionName <String>]
   [-DistributionPointGroupName <String>]
   [-DistributionPointName <String>]
   [-Comment <String>]
   [-AvailableDateTime <DateTime>]
   [-DeadlineDateTime <DateTime>]
   [-UseMeteredNetwork <Boolean>]
   [-PersistOnWriteFilterDevice <Boolean>]
   [-SendWakeupPacket <Boolean>]
   [-CollectionName <String>]
   [-CollectionId <String>]
   [-Collection <IResultObject>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Examples

Example 1

PS C:\>

Required Parameters

-InputObject
Type:IResultObject
Aliases:SoftwareUpdate, SoftwareUpdateGroup
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-SoftwareUpdateGroupId
Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-SoftwareUpdateGroupName
Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-SoftwareUpdateId
Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-SoftwareUpdateName
Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Optional Parameters

-AcceptEula
Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-AllowRestart
Type:Boolean
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-AvailableDateTime
Type:DateTime
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Collection
Type:IResultObject
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-CollectionId
Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-CollectionName
Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Comment
Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-DeadlineDateTime
Type:DateTime
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-DeploymentName
Type:String
Aliases:UpdateGroupDeploymentName
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-DeploymentType
Type:DeploymentType
Parameter Sets:Required, Available
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Description
Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-DisableOperationsManagerAlert
Type:Boolean
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-DisableWildcardHandling

DisableWildcardHandling treats wildcard characters as literal character values. Cannot be combined with ForceWildcardHandling.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-DistributeCollectionName
Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-DistributeContent
Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-DistributionPointGroupName
Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-DistributionPointName
Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-DownloadFromMicrosoftUpdate
Type:Boolean
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ForceWildcardHandling

ForceWildcardHandling processes wildcard characters and may lead to unexpected behavior (not recommended). Cannot be combined with DisableWildcardHandling.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-GenerateOperationsManagerAlert
Type:Boolean
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-GenerateSuccessAlert
Type:Boolean
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-PercentSuccess
Type:Int32
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-PersistOnWriteFilterDevice
Type:Boolean
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ProtectedType
Type:ProtectedType
Parameter Sets:NoInstall, RemoteDistributionPoint
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-RequirePostRebootFullScan
Type:Boolean
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-RestartServer
Type:Boolean
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-RestartWorkstation
Type:Boolean
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-SavedPackageId
Type:String
Aliases:SavedDeploymentPackageId
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-SendWakeupPacket
Type:Boolean
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-SoftwareInstallation
Type:Boolean
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-TimeBasedOn
Type:TimeType
Parameter Sets:LocalTime, Utc
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-TimeUnit
Type:TimeUnitType
Parameter Sets:Hours, Days, Weeks, Months
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-TimeValue
Type:Int32
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-UnprotectedType
Type:UnprotectedType
Parameter Sets:NoInstall, UnprotectedDistributionPoint
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-UseBranchCache
Type:Boolean
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-UseMeteredNetwork
Type:Boolean
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-UserNotification
Type:UserNotificationType
Parameter Sets:DisplayAll, DisplaySoftwareCenterOnly, HideAll
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-VerbosityLevel
Type:VerbosityLevelType
Parameter Sets:AllMessages, OnlySuccessAndErrorMessages, OnlyErrorMessages
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Inputs

Microsoft.ConfigurationManagement.ManagementProvider.IResultObject

Outputs

System.Object