$(New-Object -ComObject Microsoft.Update.AutoUpdate).Results.LastSearchSuccessDate;
I am using the $(New-Object -ComObject Microsoft.Update.AutoUpdate).Results.LastSearchSuccessDate; to scan for the last successful windows update. The scan returns a date I can use in a dynamic collection.
Yet, the results I get are inconsistent, and the collection included the computer below when "run" today, the 14/10/2021.
0
Comments
Does the troublesome target use different date format settings than the computer that Inventory is running on?
It is not just one computer, the dynamic collection just doesn't work. Computers with the same date appear when I reverse the comparison. All computers have date and time set to the UK.