To quickly report on all installed SharePoint-Related products and export to CSV, run this script:
Get-WmiObject -Class Win32_Product | Where {$_.Name -like “*SharePoint*”} | Sort-Object Name | Select-Object name, Description, InstallDate, InstallDate2, Vendor, Version | Export-CSV D:\Products2.csv
References
- List installed SharePoint products via PowerShell
- SharePoint 2013: The license state for the current server doesn't match the farm's license state
- Get-WmiObject
- Using the Get-WMiObject Cmdlet
Notes
- To find out what other properties are available, just pipe into Get-Member.
No comments:
Post a Comment