Skip to content

Instantly share code, notes, and snippets.

@JordanTheITGuy
Last active April 12, 2021 21:17
Show Gist options
  • Save JordanTheITGuy/372b2c3803fea34e61ba43827331f6fc to your computer and use it in GitHub Desktop.
Save JordanTheITGuy/372b2c3803fea34e61ba43827331f6fc to your computer and use it in GitHub Desktop.
merge sugs in an ugly way
$SUGFormat = "Patch My*"
$updates = Get-CMSoftwareUpdateGroup -LocalizedDisplayName $SUGFormat | Select-object -ExpandProperty updates
New-CMSoftwareUpdateGroup -Name "Example Merged SUG" -UpdateID $updates
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment