How can we get the last-updated date of a KB article installed on windows system using powershell?

DKS 0 Reputation points
2023-02-22T13:37:55.84+00:00

How can we get the last-updated date of a KB article installed on windows system using power shell?

I'm trying to generate a list of all the windows EC2 instances with:

  • Last KB article installed - I can get this from get-hotfix
  • Last Updated date of the KB article - how do it get this?

Thanks,

DKS.

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).
959 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. AllenLiu-MSFT 40,076 Reputation points Microsoft Vendor
    2023-03-01T05:57:22.02+00:00

    Hi, @DKS

    Thank you for posting in Microsoft Q&A forum.

    Do you mean the last updated date of a KB like this:

    1

    I'm afraid we cannot get the date using PowerShell, because it's just a release date of an update.


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Add comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments