I guess it is easy but I’m new. I want to create a validation for a Detection Method on SCCM so if this software is listed on programs and features AND version is equal or greater than, so it is installed. But not sure how to use -filter with an two conditionals.
if(Get-WmiObject -Namespace root\cimv2\sms -class SMS_InstalledSoftware -Filter “ARPDisplayName LIKE ‘%Microsoft Visual C++ 2010%’” AND “ARPDisplayVersion >= ‘%10.0.40219%’”){return $true}
Any idea??