当我使用时,Get-Package
我会得到这个列表。
Name Version Source ProviderName
---- ------- ------ ------------
Intel(R) Wireless Manageabi... 1.0.0.0 msi
Microsoft Visual C++ 2017 x... 14.11.25325 msi
Microsoft VC++ redistributa... 12.0.0.0 msi
Intel(R) Management Engine ... 1.0.0.0 msi
Intel(R) Management Engine ... 1914.12.0.1255 Programs
Microsoft Visual C++ 2017 x... 14.11.25325 msi
DcuMSMWrap 5.0.3 C:\Program Files (x86)\Dell\U... msi
Dell Command | Update for W... 3.1.0 C:\Program Files\Dell\Command... msi
Intel® Optane™ Pinning Expl... 17.5.3.1026 msi
7-Zip 19.00 (x64) 19.00 Programs
Mozilla Firefox 76.0.1 (x64... 76.0.1 Programs
Dell SupportAssist 3.5.0.448 C:\Program Files\Dell\Support... msi
Dell SupportAssist 3.5.0.448 Programs
Dell Data Vault (64 bit) 5.2.11.111 msi
Intel(R) Trusted Connect Se... 1.52.230.1 msi
Intel(R) Trusted Connect Se... 1.52.230.1 msi
Adobe Acrobat Reader DC - D... 20.9.20063 C:\Program Files (x86)\Adobe\... msi
Mozilla Maintenance Service 76.0.1 Programs
...
..
.
太长的字符串会被缩短。我想获得完整的字符串,但似乎没有这样做的标志。如何检索已安装软件包的全长字符串?
或者我还能如何获得包的表示以通过 PowerShell 卸载它?
来自stackoverflow的可能答案:
至少在 Windows 10 中,它非常清楚地显示了列