Gci HKLM:”\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full” ![]() NET gci HKLM:”\SOFTWARE\Microsoft\NET Framework Setup\NDP” ![]() en-us/library/aa394378įor me, this Powershell registry query works as good as any:įor. This behavior is usually *not* what you want (repairing MSI installations) just to find out a build or version number. This process also initiates a consistency check of packages installed, verifying and repairing the install. Queries such as “select * from Win32_Product where (name like ‘Sniffer%’)” require WMI to use the MSI provider to enumerate all of the installed products and then parse the full list sequentially to handle the “where” clause. ![]() ![]() “Warning Win32_Product is not query optimized. I would suggest avoiding the wmic query of the Win32_Product class, which has special considerations and isn’t suitable for general use like this.
0 Comments
Leave a Reply. |