目录

Windows Find Software

查找windows是否安装某个软件

通过服务查找

powershell

1
Get-WmiObject -class Win32_Product |Select-Object -Property name,version

批处理

1
reg query HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\|find /i "sogou input"

通过路径名称匹配

1
2
3
Get-ChildItem C:\ProgramData\Microsoft\Windows\\'Start Menu\'\Programs\ -Filter *Premium*"
Get-ChildItem C:\\'Program Files\' -Filter *Premium*"
Get-ChildItem C:\\'Program Files (x86)\' -Filter *Premium*"