heres the output from the PC on that second example
Funny how windows knows they are not recommended and displays them in the optiponal section though isnt it ?
PS C:\Users\royadmin> $searcher = New-Object -ComObject Microsoft.Update.Searcher
$objSearchResult = $Searcher.Search("IsInstalled=0")
foreach($objUpdate in $objSearchResult.Updates)
{
Write-Host ( " UpdateID : {" + $objUpdate.Identity.UpdateID + "}" )
Write-Host ( " RevisionNumber : " + $objUpdate.Identity.RevisionNumber )
Write-Host ( " InstallationBehavior : " + "CanRequestUserInput=" + $objUpdate.InstallationBehavior.CanRequestUserInput + ", Impact=" + $objUpdate.InstallationBehavior.Impact + ", RebootBehavior=" + $objUpdate.InstallationBehavior.RebootBehavior + ", RequiresNetworkConnectivity=" + $objUpdate.InstallationBehavior.RequiresNetworkConnectivity )
$objUpdate
}
UpdateID : {f2e6e529-6ad9-4963-82c7-350cafdde54f}
RevisionNumber : 2
InstallationBehavior : CanRequestUserInput=True, Impact=0, RebootBehavior=2, RequiresNetworkConnectivity=False
Title : Intel Corporation - Storage Controller - Intel(R) 8 Series/C220 Chipset Family SATA AHCI Controller
AutoSelectOnWebSites : False
BundledUpdates : System.__ComObject
CanRequireSource : False
Categories : System.__ComObject
Deadline :
DeltaCompressedContentAvailable : False
DeltaCompressedContentPreferred : True
Description : Intel Corporation Storage Controller software update released in July, 2015
EulaAccepted : True
EulaText :
HandlerID : hxxp://schemas.microsoft.com/msus/2002/12/UpdateHandlers/WindowsDriver
Identity : System.__ComObject
Image :
InstallationBehavior : System.__ComObject
IsBeta : False
IsDownloaded : False
IsHidden : False
IsInstalled : False
IsMandatory : False
IsUninstallable : False
Languages : System.__ComObject
LastDeploymentChangeTime : 25/08/2018 00:00:00
MaxDownloadSize : 9077123
MinDownloadSize : 0
MoreInfoUrls : System.__ComObject
MsrcSeverity :
RecommendedCpuSpeed : 0
RecommendedHardDiskSpace : 0
RecommendedMemory : 0
ReleaseNotes :
SecurityBulletinIDs : System.__ComObject
SupersededUpdateIDs : System.__ComObject
SupportUrl : hxxp://support.microsoft.com/select/?target=hub
Type : 2
UninstallationNotes :
UninstallationBehavior :
UninstallationSteps : System.__ComObject
KBArticleIDs : System.__ComObject
DeploymentAction : 4
DownloadPriority : 2
DownloadContents : System.__ComObject
DriverClass : Storage
DriverHardwareID : pci\ven_8086&dev_8c02&subsys_18e9103c
DriverManufacturer : Intel Corporation
DriverModel : Intel(R) 8 Series/C220 Chipset Family SATA AHCI Controller
DriverProvider : Intel Corporation
DriverVerDate : 13/07/2015 00:00:00
DeviceProblemNumber : 0
DeviceStatus : 25165834
RebootRequired : False
IsPresent : False
CveIDs : System.__ComObject
BrowseOnly : False
WindowsDriverUpdateEntries : System.__ComObject
PerUser : False
AutoSelection : 1
AutoDownload : 2
UpdateID : {98125a04-378a-4142-b423-b4394b560dac}
RevisionNumber : 2
InstallationBehavior : CanRequestUserInput=True, Impact=0, RebootBehavior=2, RequiresNetworkConnectivity=False
Title : Realtek Semiconductor Corp. - MEDIA - 12/19/2017 12:00:00 AM - 6.0.1.8328
AutoSelectOnWebSites : False
BundledUpdates : System.__ComObject
CanRequireSource : False
Categories : System.__ComObject
Deadline :
DeltaCompressedContentAvailable : False
DeltaCompressedContentPreferred : True
Description : Realtek Semiconductor Corp. MEDIA driver update released in December 2017
EulaAccepted : True
EulaText :
HandlerID : hxxp://schemas.microsoft.com/msus/2002/12/UpdateHandlers/WindowsDriver
Identity : System.__ComObject
Image :
InstallationBehavior : System.__ComObject
IsBeta : False
IsDownloaded : False
IsHidden : False
IsInstalled : False
IsMandatory : False
IsUninstallable : False
Languages : System.__ComObject
LastDeploymentChangeTime : 27/08/2018 00:00:00
MaxDownloadSize : 139334801
MinDownloadSize : 0
MoreInfoUrls : System.__ComObject
MsrcSeverity :
RecommendedCpuSpeed : 0
RecommendedHardDiskSpace : 0
RecommendedMemory : 0
ReleaseNotes :
SecurityBulletinIDs : System.__ComObject
SupersededUpdateIDs : System.__ComObject
SupportUrl : hxxp://support.microsoft.com/select/?target=hub
Type : 2
UninstallationNotes :
UninstallationBehavior :
UninstallationSteps : System.__ComObject
KBArticleIDs : System.__ComObject
DeploymentAction : 4
DownloadPriority : 2
DownloadContents : System.__ComObject
DriverClass : Sound
DriverHardwareID : hdaudio\func_01&ven_10ec&dev_0221&subsys_103c18e9
DriverManufacturer : Realtek
DriverModel : Realtek High Definition Audio
DriverProvider : Realtek Semiconductor Corp.
DriverVerDate : 19/12/2017 00:00:00
DeviceProblemNumber : 0
DeviceStatus : 25174026
RebootRequired : False
IsPresent : False
CveIDs : System.__ComObject
BrowseOnly : False
WindowsDriverUpdateEntries : System.__ComObject
PerUser : False
AutoSelection : 1
AutoDownload : 2
UpdateID : {3caa73f7-9e5c-4838-b423-f12ef6743e76}
RevisionNumber : 2
InstallationBehavior : CanRequestUserInput=True, Impact=0, RebootBehavior=2, RequiresNetworkConnectivity=False
Title : Dell Inc. - Monitor, Other hardware - DELL E1913S (Analog)
AutoSelectOnWebSites : False
BundledUpdates : System.__ComObject
CanRequireSource : False
Categories : System.__ComObject
Deadline :
DeltaCompressedContentAvailable : False
DeltaCompressedContentPreferred : True
Description : Dell Inc. Monitor, Other hardware software update released in July, 2013
EulaAccepted : True
EulaText :
HandlerID : hxxp://schemas.microsoft.com/msus/2002/12/UpdateHandlers/WindowsDriver
Identity : System.__ComObject
Image :
InstallationBehavior : System.__ComObject
IsBeta : False
IsDownloaded : False
IsHidden : False
IsInstalled : False
IsMandatory : False
IsUninstallable : False
Languages : System.__ComObject
LastDeploymentChangeTime : 12/09/2018 00:00:00
MaxDownloadSize : 24856
MinDownloadSize : 0
MoreInfoUrls : System.__ComObject
MsrcSeverity :
RecommendedCpuSpeed : 0
RecommendedHardDiskSpace : 0
RecommendedMemory : 0
ReleaseNotes :
SecurityBulletinIDs : System.__ComObject
SupersededUpdateIDs : System.__ComObject
SupportUrl : hxxp://support.microsoft.com/select/?target=hub
Type : 2
UninstallationNotes :
UninstallationBehavior :
UninstallationSteps : System.__ComObject
KBArticleIDs : System.__ComObject
DeploymentAction : 4
DownloadPriority : 2
DownloadContents : System.__ComObject
DriverClass : OtherHardware
DriverHardwareID : monitor\deld050
DriverManufacturer : Dell Inc.
DriverModel : DELL E1913S (Analog)
DriverProvider : Dell Inc.
DriverVerDate : 12/07/2013 00:00:00
DeviceProblemNumber : 0
DeviceStatus : 25190410
RebootRequired : False
IsPresent : False
CveIDs : System.__ComObject
BrowseOnly : False
WindowsDriverUpdateEntries : System.__ComObject
PerUser : False
AutoSelection : 1
AutoDownload : 2
UpdateID : {9c87c563-85d3-4637-b4b1-06b2d546b83e}
RevisionNumber : 2
InstallationBehavior : CanRequestUserInput=True, Impact=0, RebootBehavior=2, RequiresNetworkConnectivity=False
Title : Dell Inc. - Bus Controllers and Ports, Display - Dell P2210H(Digital)
AutoSelectOnWebSites : False
BundledUpdates : System.__ComObject
CanRequireSource : False
Categories : System.__ComObject
Deadline :
DeltaCompressedContentAvailable : False
DeltaCompressedContentPreferred : True
Description : Dell Inc. Bus Controllers and Ports, Display software update released in May, 2009
EulaAccepted : True
EulaText :
HandlerID : hxxp://schemas.microsoft.com/msus/2002/12/UpdateHandlers/WindowsDriver
Identity : System.__ComObject
Image :
InstallationBehavior : System.__ComObject
IsBeta : False
IsDownloaded : False
IsHidden : False
IsInstalled : False
IsMandatory : False
IsUninstallable : False
Languages : System.__ComObject
LastDeploymentChangeTime : 14/09/2018 00:00:00
MaxDownloadSize : 23961
MinDownloadSize : 0
MoreInfoUrls : System.__ComObject
MsrcSeverity :
RecommendedCpuSpeed : 0
RecommendedHardDiskSpace : 0
RecommendedMemory : 0
ReleaseNotes :
SecurityBulletinIDs : System.__ComObject
SupersededUpdateIDs : System.__ComObject
SupportUrl : hxxp://support.microsoft.com/select/?target=hub
Type : 2
UninstallationNotes :
UninstallationBehavior : System.__ComObject
UninstallationSteps : System.__ComObject
KBArticleIDs : System.__ComObject
DeploymentAction : 4
DownloadPriority : 2
DownloadContents : System.__ComObject
DriverClass : OtherHardware
DriverHardwareID : monitor\deld025
DriverManufacturer : Dell Inc.
DriverModel : Dell P2210H(Digital)
DriverProvider : Dell Inc.
DriverVerDate : 21/05/2009 00:00:00
DeviceProblemNumber : 0
DeviceStatus : 25190410
RebootRequired : False
IsPresent : False
CveIDs : System.__ComObject
BrowseOnly : False
WindowsDriverUpdateEntries : System.__ComObject
PerUser : False
AutoSelection : 1
AutoDownload : 2
UpdateID : {15733374-4870-4bd3-9183-e0115ae41b35}
RevisionNumber : 1
InstallationBehavior : CanRequestUserInput=True, Impact=0, RebootBehavior=2, RequiresNetworkConnectivity=False
Title : Realtek - Net - 12/6/2018 12:00:00 AM - 10.32.1206.2018
AutoSelectOnWebSites : False
BundledUpdates : System.__ComObject
CanRequireSource : False
Categories : System.__ComObject
Deadline :
DeltaCompressedContentAvailable : False
DeltaCompressedContentPreferred : True
Description : Realtek Net driver update released in December 2018
EulaAccepted : True
EulaText :
HandlerID : hxxp://schemas.microsoft.com/msus/2002/12/UpdateHandlers/WindowsDriver
Identity : System.__ComObject
Image :
InstallationBehavior : System.__ComObject
IsBeta : False
IsDownloaded : False
IsHidden : False
IsInstalled : False
IsMandatory : False
IsUninstallable : False
Languages : System.__ComObject
LastDeploymentChangeTime : 04/06/2019 00:00:00
MaxDownloadSize : 443089
MinDownloadSize : 0
MoreInfoUrls : System.__ComObject
MsrcSeverity :
RecommendedCpuSpeed : 0
RecommendedHardDiskSpace : 0
RecommendedMemory : 0
ReleaseNotes :
SecurityBulletinIDs : System.__ComObject
SupersededUpdateIDs : System.__ComObject
SupportUrl : hxxp://support.microsoft.com/select/?target=hub
Type : 2
UninstallationNotes :
UninstallationBehavior : System.__ComObject
UninstallationSteps : System.__ComObject
KBArticleIDs : System.__ComObject
DeploymentAction : 4
DownloadPriority : 2
DownloadContents : System.__ComObject
DriverClass : Networking
DriverHardwareID : pci\ven_10ec&dev_8168&subsys_18e9103c&rev_0c
DriverManufacturer : Realtek
DriverModel : Realtek PCIe GbE Family Controller
DriverProvider : Realtek
DriverVerDate : 06/12/2018 00:00:00
DeviceProblemNumber : 0
DeviceStatus : 25174026
RebootRequired : False
IsPresent : False
CveIDs : System.__ComObject
BrowseOnly : False
WindowsDriverUpdateEntries : System.__ComObject
PerUser : False
AutoSelection : 1
AutoDownload : 2