📜  在 windows 中显示任何程序版本的命令 - 任何代码示例

📅  最后修改于: 2022-03-11 14:55:31.333000             🧑  作者: Mango

代码示例2
$InstalledSoftware = Get-ChildItem "HKCU:\Software\Microsoft\Windows\CurrentVersion\Uninstall"foreach($obj in $InstalledSoftware){write-host $obj.GetValue('DisplayName') -NoNewline; write-host " - " -NoNewline; write-host $obj.GetValue('DisplayVersion')}