Unable to schedule OS deployment image update

ritmo2k 706 Reputation points
2022-10-13T21:06:52.307+00:00

I am trying to use the following code to schedule an update of an OS image:

   $image = Get-CMOperatingSystemImage -Name 'Image Name'  
   $group = Get-CMSoftwareUpdate -UpdateGroupName 'Group Name' -Fast  
     
   New-CMOperatingSystemImageUpdateSchedule `  
       -Name $image.Name `  
       -SoftwareUpdate $group `  
       -RunNow `  
       -RemoveSupersededUpdates $true `  
       -ContinueOnError $true `  
       -UpdateDistributionPoint $true  

I receive the following warning:

   WARNING: 0 of 3 Software Updates will be added to the update schedule.  

However, one of the updates is most certainly valid and has not been applied to the image. I can manually enumerate it and apply the update to the image in the console.

Does anyone know what I might be missing?

Microsoft Configuration Manager Updates
Microsoft Configuration Manager Updates
Microsoft Configuration Manager: An integrated solution for for managing large groups of personal computers and servers.Updates: Broadly released fixes addressing specific issue(s) or related bug(s). Updates may also include new or modified features (i.e. changing default behavior).
983 questions
Microsoft Configuration Manager Deployment
Microsoft Configuration Manager Deployment
Microsoft Configuration Manager: An integrated solution for for managing large groups of personal computers and servers.Deployment: The process of delivering, assembling, and maintaining a particular version of a software system at a site.
920 questions
{count} votes

1 answer

Sort by: Most helpful
  1. ritmo2k 706 Reputation points
    2022-11-26T21:03:05.9+00:00

    Looks like it is a known issue that was resolved in KB15152495.

    See issues-that-are-fixed.