Hi,
I'm using below code to get installed Windows update on a device in the last 120 days.
Get-CimInstance -Class win32_quickfixengineering | Where-Object { $_.InstalledOn -gt (Get-Date).AddDays(-120) } | Select-Object -Property HotFixID
The result is below.
HotFixID
--------
KB4601050
KB4562830
KB4598481
KB4598242
I want to remove the HotFixID title and only get the KB values and put them in to an array.
I appreciate any help to get this working. Thanks in advance.