RequiredModules

5.0.5-destination0007

A module for installing PowerShell resources

Minimum PowerShell version

5.1

This is a prerelease version of RequiredModules.
There is a newer prerelease version of this module available.
See the version list below for details.

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name RequiredModules -RequiredVersion 5.0.5-destination0007 -AllowPrerelease

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name RequiredModules -Version 5.0.5-destination0007 -Prerelease

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

Copyright (c) 2020 Joel Bennett

Package Details

Author(s)

  • Joel 'Jaykul' Bennett

Tags

Install Requirements Development Dependencies Modules

Functions

Install-RequiredModule

PSEditions

Core Desktop

Dependencies

Release Notes


           5.0.1 Fix PowerShell 5 .Where bug again (sorry)
           5.0.0 Available as a module, with multiple repository support
               BREAKING CHANGES:
               - No longer automatically trusts PSGallery. You must ensure that there is at least one repository registered and trusted, or use the `-TrustRegisteredRepositories` to trust all repositories.
               - Allows installing from any trusted repository. There is also new syntax for the RequiredModules hashtables to support specifying a specific repository for any specific module. See the ReadMe or the help for Install-RequiredModule.

               MAJOR IMPROVEMENTS:
               - Supports passing the RequiredModules hashtable directly on the commandline, rather than requiring a file.
               - Also available in the "RequiredModules" module

               By default, we only install from trusted repositories. You should mark the repositories you regularly install from as trusted repositories. See the following example to trust the default PSGallery:

                   Register-PSRepository -Default -ErrorAction Ignore -InstallationPolicy Trusted
                   Get-PSRepository -Name PSGallery | Set-PSRepository -InstallationPolicy Trusted
           4.1.1 Minor fixes for edge cases and options
           4.1.0 Support non-PSGallery feeds
           4.0.6 Fix a double -Verbose problem
           4.0.5 Let the -Destination be non-empty (so we do not have to re-download every time)
           4.0.4 Fix PowerShell 5 .Where bug
           4.0.3 Fix module check when using -Destination to force all modules to be in destination
           4.0.2 Fix Remove-Module error
           4.0.1 Add logging outputs
           4.0.0 BREAKING CHANGE: require the -Destination to start empty (allow -CleanDestination to clear it)
               Fix for adding the destination to PSModulePath multiple times
               Started testing this so I can ship it to PowerShellGet
           3.0.0 BREAKING CHANGE: switch -SkipImport to -Import -- inverting the logic to NOT import by default
               Add -Destination parameter to support installing in a local tool path
           2.0.1 Squash mistaken "InstallError" message caused by Select-Object -First
               Clean up output that was unexpected
           2.0.0 BREAKING CHANGE: use NuGetVersion to support wildcards like 3.*
               Improve the error messages around aborted or failed installs
           1.0.1 Fix "Version 3.4.0 of module Pester is already installed"
           1.0.0 This is the first public release - it probably does not work right
           

FileList

Version History

Version Downloads Last updated
5.1.0-upgrad... 26 9/22/2022
5.1.0-upgrad... 11 9/22/2022
5.1.0-upgrad... 11 9/14/2022
5.1.0-upgrad... 9 9/14/2022
5.1.0-upgrad... 9 9/14/2022
5.1.0-sortin... 10 9/12/2022
5.0.5-destin... (current version) 10 9/3/2022
Show less