Install-Dependencies

0.0.8

Script to install dependencies from the PowerShell Gallery and NuGet. It is possible to install scripts, modules and packages.
The packages can be installed from the PowerShell Gallery and packages from a NuGet repository.
Packages can defined as a raw string array or as a pscustomobject with a specific version number.

Please make sure to have the Modules WriteLog an
Script to install dependencies from the PowerShell Gallery and NuGet. It is possible to install scripts, modules and packages.
The packages can be installed from the PowerShell Gallery and packages from a NuGet repository.
Packages can defined as a raw string array or as a pscustomobject with a specific version number.

Please make sure to have the Modules WriteLog and PowerShellGet (>= 2.2.4) installed.

Show more

Installation Options

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

Install-Script -Name Install-Dependencies -RequiredVersion 0.0.8

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

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

(c) 2023 Apteco GmbH. All rights reserved.

Package Details

Author(s)

  • florian.von.bracht@apteco.de

Tags

"PSEdition_Desktop" "Windows" "Apteco"

Functions

Request-Choice

Dependencies

This script has no dependencies.

Release Notes

0.0.8 Fixed wrong formatted output
0.0.7 Allowed empty arrays for wrapping the script into other modules
Changed internal function prompt-choice to request-choice to only allow approved verbs
0.0.6 Admin privileges are now checked in another way and is not needed for local packages anymore
Fix for installation if package names are strings
Adding status information at the end
0.0.5 Fix of rounded status percentage
0.0.4 Changed the way to temporarily save packages when an error happens in dependency check
0.0.3 Some bigger changes for getting it to run
0.0.2 Ignore already installed global packages because they would need to be loaded first
0.0.1 Initial release of this script

FileList

Version History

Version Downloads Last updated
0.0.10 48 6/27/2024
0.0.8 (current version) 106 10/24/2023
0.0.7 26 10/1/2023
0.0.6 9 9/27/2023
0.0.5 19 9/19/2023
0.0.4 9 9/19/2023
0.0.3 9 9/19/2023
0.0.2 13 9/13/2023
0.0.1 34 9/12/2023
Show more