【发布时间】:2020-07-26 09:16:26
【问题描述】:
我在 Win 10 下使用 PS 5.1。
Find-Module for PSColor 只找到版本 1.0.0.0(见下文)。
但是https://www.powershellgallery.com/packages/PSColors/1.3.0
显示还有更多。
为什么? 如何让它检测所有版本? 我如何以编程方式告诉这种情况正在发生(对于任何包)?
> Find-Module -Name 'PSColor' -Repository 'PSGallery' -AllVersions
Version Name Repository Description
------- ---- ---------- -----------
1.0.0.0 PSColor PSGallery Provides basic color highlighting for files, services, select-string etc....
【问题讨论】:
标签: powershell powershell-module