{"id":5290,"date":"2022-06-04T07:00:00","date_gmt":"2022-06-03T23:00:00","guid":{"rendered":"https:\/\/ixyzero.com\/blog\/?p=5290"},"modified":"2022-06-03T13:07:04","modified_gmt":"2022-06-03T05:07:04","slug":"windows%e4%b8%8a%e8%bd%af%e4%bb%b6%e5%ae%89%e8%a3%85%e5%88%97%e8%a1%a8%e7%9a%84%e8%8e%b7%e5%8f%96%e6%96%b9%e6%b3%95%ef%bf%bc","status":"publish","type":"post","link":"https:\/\/ixyzero.com\/blog\/archives\/5290.html","title":{"rendered":"Windows\u4e0a\u8f6f\u4ef6\u5b89\u88c5\u5217\u8868\u7684\u83b7\u53d6\u65b9\u6cd5\ufffc"},"content":{"rendered":"\n<p>=Start=<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">\u7f18\u7531\uff1a<\/h4>\n\n\n\n<p>\u524d\u9762\u6574\u7406\u4e86\u5982\u4f55\u83b7\u53d6macOS\u7cfb\u7edf\u4e0a\u5df2\u5b89\u88c5\u7684\u8f6f\u4ef6\u5217\u8868\uff0c\u8fd9\u91cc\u6574\u7406\u4e00\u4e0b\u83b7\u53d6Windows\u7cfb\u7edf\u4e0a\u5df2\u5b89\u88c5\u7684\u8f6f\u4ef6\u5217\u8868\u7684\u51e0\u79cd\u65b9\u6cd5\uff0c\u65b9\u4fbf\u540e\u9762\u6709\u9700\u8981\u7684\u65f6\u5019\u53c2\u8003\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">\u6b63\u6587\uff1a<\/h4>\n\n\n\n<h5 class=\"wp-block-heading\">\u53c2\u8003\u89e3\u7b54\uff1a<\/h5>\n\n\n\n<p>\u5927\u6982\u6709\u4ee5\u4e0b\u51e0\u4e2a\u65b9\u6cd5\uff1a<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>\u67e5\u8be2\u6ce8\u518c\u8868\uff0c\u5927\u591a\u6570\u7528PowerShell\u6765\u4ecb\u7ecd<\/li><\/ol>\n\n\n\n<p>\u76f8\u5173\u6ce8\u518c\u8868\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>HKLM:\\Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\nHKLM:\\Software\\Wow6432Node\\Microsoft\\Windows\\CurrentVersion\\Uninstall<\/code><\/pre>\n\n\n\n<p>PowerShell\u547d\u4ee4\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Get-ItemProperty HKLM:\\Software\\Wow6432Node\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\* | Select-Object DisplayName, DisplayVersion, Publisher, InstallDate | Format-Table \u2013AutoSize\n\n$InstalledSoftware = Get-ChildItem \"HKLM:\\Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\"\nforeach($obj in $InstalledSoftware) {\n\twrite-host $obj.GetValue('DisplayName') -NoNewline;\n\twrite-host \" - \" -NoNewline;\n\twrite-host $obj.GetValue('DisplayVersion')\n}\n\n$loc = Get-ChildItem HKLM:\\Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\n$names = $loc |foreach-object {Get-ItemProperty $_.PsPath}\nforeach ($name in $names) {\n    Write-Host $name.DisplayName\n}<\/code><\/pre>\n\n\n\n<ol class=\"wp-block-list\" start=\"2\"><li>\u4f7f\u7528 wmic \u547d\u4ee4(Windows Management Instrumentation Command-Line Utility)<\/li><\/ol>\n\n\n\n<p>\u4f7f\u7528wmic\u547d\u4ee4\u6709\u591a\u79cd\u65b9\u6cd5\uff0c\u4f46\u6838\u5fc3\u90fd\u662f\u4e00\u6837\u7684\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>\u5728CMD\u4e0a\u5148\u8f93\u5165 wmic \u7136\u540e\u56de\u8f66\u8fdb\u5165wmic\u5185\u6267\u884c\u547d\u4ee4<br><code>\/output:C:\\InstalledPrograms.txt product get name,version<\/code><\/li><li>\u76f4\u63a5\u5728CMD\u4e2d\u6267\u884c\u547d\u4ee4<br><code>wmic \/output:C:\\InstalledPrograms2.txt product get name,version<\/code><\/li><\/ul>\n\n\n\n<ol class=\"wp-block-list\"><li>\u4f7f\u7528 PowerShell \u4e2d\u7684 Get-WmiObject \u547d\u4ee4<\/li><\/ol>\n\n\n\n<p><code>Get-WmiObject -Class Win32_Product<\/code><\/p>\n\n\n\n<p><code>Get-WmiObject -Class Win32_Product | where vendor -eq CodeTwo | select Name, Version<\/code><\/p>\n\n\n\n<ol class=\"wp-block-list\" start=\"4\"><li>\u4f7f\u7528 PowerShell \u4e2d\u7684 Get-WinEvent \u547d\u4ee4\u67e5\u8be2 event log \u6765\u83b7\u53d6\u8fd1\u671f\u5b89\u88c5\u7684\u8f6f\u4ef6\u5217\u8868<\/li><\/ol>\n\n\n\n<p><code>Get-WinEvent -ProviderName msiinstaller | where id -eq 1033 | select timecreated,message | FL *<\/code><\/p>\n\n\n\n<ol class=\"wp-block-list\" start=\"5\"><li>\u989d\u5916\u4e0b\u8f7d\u7531Microsoft\/Sysinternals\u63d0\u4f9b\u7684 PsInfo \u547d\u4ee4\u884c\u5de5\u5177<\/li><\/ol>\n\n\n\n<p><code>C:> psinfo -s > software.txt<br>C:> psinfo -s -c > software.csv<\/code><\/p>\n\n\n\n<p>==<\/p>\n\n\n\n<p>\u4e0a\u9762\u662f\u6211\u6574\u7406\u7684\u4ece\u547d\u4ee4\u884c\u4e0a\u83b7\u53d6\u8f6f\u4ef6\u5b89\u88c5\u5217\u8868\u7684\u65b9\u6cd5\uff0c\u5bf9\u4e8e\u4e0d\u592a\u61c2\u6280\u672f\u7684\u7528\u6237\u6765\u8bf4\uff0c\u66f4\u591a\u7684\u8fd8\u662f\u7528GUI\u56fe\u5f62\u5316\u754c\u9762\u8fdb\u884c\u64cd\u4f5c\uff0c\u63d0\u4f9b\u76f8\u5173\u529f\u80fd\u7684\u5de5\u5177\u4e3b\u8981\u6709\uff1a<\/p>\n\n\n\n<p>\u7cfb\u7edf\u81ea\u5e26\u7684-\u63a7\u5236\u9762\u677f(Control Panel)<\/p>\n\n\n\n<p>\u8f83\u65b0\u7cfb\u7edf\u81ea\u5e26\u7684-Settings\u5e94\u7528(Settings app &gt;&gt; Apps &gt;&gt; Apps and features)<\/p>\n\n\n\n<p>NirSoft UninstallView<\/p>\n\n\n\n<p>CCleaner<\/p>\n\n\n\n<p>Belarc Advisor<\/p>\n\n\n\n<p>Geek Uninstaller<\/p>\n\n\n\n<p>\u2026<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">\u53c2\u8003\u94fe\u63a5\uff1a<\/h5>\n\n\n\n<p>How to Get a List of All Installed Programs in Windows: 6 Ways<br><a href=\"https:\/\/www.makeuseof.com\/tag\/list-installed-programs-windows\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/www.makeuseof.com\/tag\/list-installed-programs-windows\/<\/a><\/p>\n\n\n\n<p>7 Ways To Generate a List of Installed Programs in Windows<br><a href=\"https:\/\/helpdeskgeek.com\/how-to\/generate-a-list-of-installed-programs-in-windows\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/helpdeskgeek.com\/how-to\/generate-a-list-of-installed-programs-in-windows\/<\/a><\/p>\n\n\n\n<p>How to quickly check installed software versions<br><a href=\"https:\/\/www.codetwo.com\/admins-blog\/how-to-check-installed-software-version\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/www.codetwo.com\/admins-blog\/how-to-check-installed-software-version\/<\/a><\/p>\n\n\n\n<p>2 Easy Ways to List Programs Installed in Windows<br><a href=\"https:\/\/port135.com\/2-easy-ways-to-list-programs-installed-in-windows\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/port135.com\/2-easy-ways-to-list-programs-installed-in-windows\/<\/a><\/p>\n\n\n\n<p>How to: Using WMIC to Retrieve a List of All Installed Programs<br><a href=\"https:\/\/community.spiceworks.com\/how_to\/111076-using-wmic-to-retrieve-a-list-of-all-installed-programs\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/community.spiceworks.com\/how_to\/111076-using-wmic-to-retrieve-a-list-of-all-installed-programs<\/a><\/p>\n\n\n\n<p>Get list of installed applications from Windows command line<br><a href=\"https:\/\/superuser.com\/questions\/68611\/get-list-of-installed-applications-from-windows-command-line\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/superuser.com\/questions\/68611\/get-list-of-installed-applications-from-windows-command-line<\/a><\/p>\n\n\n\n<p>How to Create a List of Your Installed Programs on Windows<br><a href=\"https:\/\/www.howtogeek.com\/165293\/how-to-get-a-list-of-software-installed-on-your-pc-with-a-single-command\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/www.howtogeek.com\/165293\/how-to-get-a-list-of-software-installed-on-your-pc-with-a-single-command\/<\/a><\/p>\n\n\n\n<p>8 Ways to Get List of Installed Programs For Backup in Windows<br><a href=\"https:\/\/www.itechtics.com\/list-installed-programs-windows-10\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/www.itechtics.com\/list-installed-programs-windows-10\/<\/a><\/p>\n\n\n\n<p>=END=<\/p>\n","protected":false},"excerpt":{"rendered":"<p>=Start= \u7f18\u7531\uff1a \u524d\u9762\u6574\u7406\u4e86\u5982\u4f55\u83b7\u53d6macOS\u7cfb\u7edf\u4e0a\u5df2\u5b89\u88c5\u7684\u8f6f\u4ef6\u5217\u8868\uff0c\u8fd9\u91cc\u6574\u7406\u4e00\u4e0b\u83b7\u53d6Windows\u7cfb\u7edf [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[23,12,20],"tags":[1831,1830,129,104,1829,1448],"class_list":["post-5290","post","type-post","status-publish","format-standard","hentry","category-knowledgebase-2","category-tools","category-windows","tag-get-winevent","tag-get-wmiobject","tag-powershell","tag-windows","tag-wmic","tag-1448"],"views":5339,"_links":{"self":[{"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/posts\/5290","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/comments?post=5290"}],"version-history":[{"count":1,"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/posts\/5290\/revisions"}],"predecessor-version":[{"id":5291,"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/posts\/5290\/revisions\/5291"}],"wp:attachment":[{"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/media?parent=5290"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/categories?post=5290"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/tags?post=5290"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}