Run a full machine-wide search for Microsoft.Data.SqlClient.dll
Get-ChildItem "C:\" -Recurse -Filter "Microsoft.Data.SqlClient.dll" -ErrorAction SilentlyContinue |
Select-Object FullName, @{
Name="Version"
Expression={$_.VersionInfo.FileVersion}
}
Defaults to System.Data.SqlClient if not
