03 August,2012 by Jack Vamvas
Question: I want to check if the MS SQL Server 2008 Native Client is installed using Powershell. What Powershell cmdlet can I use to gather the information?
On the basis of the result returned by the Powershell cmdlet , I’ll prompt the use to install the MS SQL Server 2008 Native Client, before they proceed with the remaining actions.
Answer: The Powershell Get-WmiObject can return the information. The Get-WmiObject is a great cmdlet for system administration.
Get-WmiObject "win32_product" | select-object -property Name,PackageName,Version