I am getting group of application that i want to uninstall by using this command:
$app = Get-WmiObject -Class Win32_Product | Where-Object { $_.Name -match "Microsoft sql" }
$app is list of applications. Can i uninstall the complete group or i must loop with foreach?
PowerShell version -3