I am currently writing a script, that sends me an email, if a new Windows update gets released.
Get-WindowsUpdate
Output:
ComputerName Status KB Size Title ------------ ------ -- ---- -----
MD-I-T-092 ------- 2MB Intel - System - 4/12/2017 12:00:00 AM - 14.28.47.630
MD-I-T-092 ------- 24KB Dell Inc. - Monitor - 1/30/2018 12:00:00 AM -
MD-I-T-092 ------- 46KB Intel - System - 9/19/2017 12:00:00 AM - 11.7.0.1000
MD-I-T-092 ------- 9MB Lenovo Ltd. - Firmware - 1.0.0.50
MD-I-T-092 ------- 346KB Lenovo Ltd. - Firmware - 1.0.0.41
At the moment, only "Driver" updates are available. When a Windows update is available, I want to retrieve the "KB" Number and the "Title" of the update.
Get-WindowsUpdate | Select-Object -Property KB (or Size/Title etc.)
This method doesent work.
I guess that is because the Property is not available.
Get-WindowsUpdate | Select -Property *
As this method (https://social.technet.microsoft.com/Forums/en-US/b7e3b522-04b5-4cd5-a228-837deff9d7b8/windows-update-powershell-module-display-category-with-getwindowsupdate-aka-getwulist-cmdlet?forum=ITCG) didnt work for me, do you have any other ideas on how to filter the output? On StackO I have not found an article that helped me, but if you know one, please let me know :)

