Powershell command to run summarization on a single SUG (Software update group)

Sheshachala A V 96 Reputation points
2020-11-03T09:52:51.34+00:00

Hi All,
I am trying to automate a process,where I need to run summarization on a single SUG, which is specifically created for reporting purpose(hence, this SUG is not deployed).

But I am not able to find any powershell command to run summarization on a specific SUG. Please help.

Thanks,
Shesh

Windows for business Windows Server User experience PowerShell
Microsoft Security Intune Configuration Manager Updates
0 comments No comments
{count} votes

Accepted answer
  1. Sheshachala A V 96 Reputation points
    2021-03-05T16:41:05.62+00:00

    I was able to achieve this using runauthliststatussummarization method of class sms_authorizationlist.

    Code sample is as follows..
    $sccmserver = “SMSServerName”
    $ci_id = (get-cmsoftwareupdategroup -name ‘Sugname’).CI_ID
    $smsauthclass = Get-wmiObject -ComputerName $sccmserver -Namespace root/sms/site_xxx -class SMS_authorizationlist -list
    $smsauthclass.RunAuthListStatusSummarization($ci_id)

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Jason Sandys 31,406 Reputation points Microsoft Employee Moderator
    2020-11-03T16:19:49.513+00:00

    Invoke-CMSoftwareUpdateSummarization is the closest PowerShell cmdlet that I can find but it isn't specific to a single update group: https://learn.microsoft.com/en-us/powershell/module/configurationmanager/invoke-cmsoftwareupdatesummarization?view=sccm-ps

    You can directly invoke a summarization for an update group using WMI though https://learn.microsoft.com/en-us/mem/configmgr/develop/reference/sum/runauthliststatussummarization-method-in-class-sms_authorizationlist.

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.