- or download this
my @pnames = `wmic product where "Name like '%Provider%'" get Iden
+tifyingNumber, Name,Version`;
print "@pnames";
- or download this
IdentifyingNumber Name
+ Version
{E094B8EA-87B7-48DE-A0A8-A18AC8BFCDF4} .NET Data Provider for Tera
+data 14.00.0.0
{1551F9D6-1B14-4AE1-BABA-70A4319C236A} ODBC Driver Provider
+ 14.00.0.0
- or download this
foreach $name ( @pnames )
{
...
print "Identifying number(say $id) of the packge with name(say $
+pkg)\n";
}