This SQL query can be easily adapted to be used as an SMS web report to allow you to see Microsoft Licensed Product information for a specified machine.
It will include the following information: Microsoft Family Name, Licensed Product Name, Version, License Type and the Last Update timestamp as in the example below:
Microsoft Family Name: Office Professional
Licensed Product Name: Office Professional 2003
Version: 2003
License Type: Microsoft Volume License
Last Update: 2007-04-20 12:35:31.007
SQL :
Select Distinct
LIC.MlsFamilyName 'Microsoft Family Name',
LIC.MlsProductName 'Licensed Product Name',
LIC.VersionCode Version,
LIC.LicenseTypeName 'License Type',
LIC.LastUpdated 'Last Update'
From v_R_System SD
Join v_Gs_Installed_Software_Ms SW On SD.ResourceID = SW.ResourceID
Join v_Lu_MsProd LIC On SW.MPC0 = LIC.MPC
Where SD.Name0 = 'Machine_Name'
Group By LIC.MlsFamilyName, LIC.MlsProductName,
LIC.VersionCode, LIC.LicenseTypeName, LIC.LastUpdated
Order By LIC.MlsFamilyName
No comments:
Post a Comment