-
hi, in this list they are coloured orange is there any reason or is there a way to force all are insatlled? regards |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 7 replies
-
So far, the Az module comprise only stable modules (version 1.0.0 or above). Stable modules are adhering to a policy of no more than two breaking changes per year.
We are open to any other suggestions on how to deliver those modules to your systems. If you have other ideas, please let us know. |
Beta Was this translation helpful? Give feedback.
-
I am not sure I fully understand... however here is an example find-module psreadline
Version Name Repository Description
------- ---- ---------- -----------
2.1.0 PSReadLine PSGallery Great command line editing in the PowerShell console host Now if I want to install the preview i can search and install Modules marked as preview. The Cmdlets have the same names as the normal cmdlets, they are essentially just a new version. You can have both installed side by side and you can import-module with the version that you wish to use. You can also remove-module with any version in memory that you don't wish to use. so now if I opt in for preview. find-module psreadline -AllowPrerelease
Version Name Repository Description
------- ---- ---------- -----------
2.2.0-beta2 PSReadLine PSGallery Great command line editing in the PowerShell console host if I install them both. install-module psreadline -AllowPrerelease
gmo psreadline -ListAvailable -All
Directory: C:\Program Files\WindowsPowerShell\Modules
ModuleType Version PreRelease Name PSEdition ExportedCommands
---------- ------- ---------- ---- --------- ----------------
Script 2.0.0 PSReadline Desk {Get-PSReadLineKeyHandler, Set-PSReadLineKeyHandler, Remove-PSReadLineKeyHandler, Get-PSReadLineOption…}
Script 0.0 PSReadline Desk PSConsoleHostReadLine
Script 2.2.0 beta2 PSReadLine Desk {Get-PSReadLineKeyHandler, Set-PSReadLineKeyHandler, Remove-PSReadLineKeyHandler, Get-PSReadLineOption…}
Script 0.0 PSReadLine Desk {Set-PSReadLineKeyHandler, Get-PSReadLineOption, Get-PSReadLineKeyHandler, Set-PSReadLineOption…} So now if I want to use one particular version I can remove all... since they are loaded by default, which AZ Modules are not, so you can skip this step. rmo psreadline Now I can import a version that is not the latest... since normally the latest (which would default to the preview if you installed it, would load by default ) import-module -Name psreadline -RequiredVersion 2.0.0
gmo psreadline
ModuleType Version PreRelease Name ExportedCommands
---------- ------- ---------- ---- ----------------
Script 2.0.0 psreadline {Get-PSReadLineKeyHandler, Get-PSReadLineOption, Remove-PSReadLineKeyHandler, Set-PSReadLineKeyHandler…} Now let me go back to the latest rmo psreadline
import-module psreadline -Passthru
ModuleType Version PreRelease Name ExportedCommands
---------- ------- ---------- ---- ----------------
Script 2.2.0 beta2 psreadline {Get-PSReadLineKeyHandler, Get-PSReadLineOption, Remove-PSReadLineKeyHandler, Set-PSReadLineKeyHandler…} |
Beta Was this translation helpful? Give feedback.
-
Thanks all for the inputs! |
Beta Was this translation helpful? Give feedback.
Thanks all for the inputs!
I have created feature request #14756 related to this conversation, feedbacks about the implementation should now go happen in the issue.