在windows上,可以通过控制面板,查看软件安装情况。那么除此之外还有其它方法吗?
- powershell命令
PS C:\Users\wyq> Get-WmiObject -class Win32_Product |Select-Object -Property name,version
name version
---- -------
Microsoft Visual C++ Compiler Package for Python 2.7 9.0.1.30729
Microsoft .NET Framework 4.5.1 Multi-Targeting Pack 4.5.50932
Microsoft Visual C++ x64-x86 Cross Compilers - CHS Resources 12.0.21005
Microsoft SQL Server 2012 T-SQL Language Service 11.1.3000.0
....