Skip to content

Modules to Install

Nate Ferrell edited this page Aug 22, 2019 · 12 revisions

Synopsis

An overview of the Modules to Install concept in PSProfile.

Description

Modules to Install are stored as an array of hashtables in the PSProfile object property $PSProfile.ModulesToInstall.

Each hashtable in the array will include at least a module name, but also supports other various Install-Module parameters such as Repository, RequiredVersion and MinimumVersion.

Modules found in $PSProfile.ModulesToInstall will be installed to the CurrentUser scope if not already installed. This is done during a PSProfile refresh only and handled via background runspace through the PoshRSJob module so as to not extend the current profile load time.

Commands

Adds a new ModuleToInstall to your PSProfile.

Gets a ModuleToInstall or the list of ModulesToInstall from your PSProfile configuration.

Removes a ModuleToInstall from your PSProfile.

PSProfile

Concepts

Function Help

Command Aliases

Configuration

Helpers

Init Scripts

Meta

Modules to Import

Modules to Install

Path Aliases

Plugin Paths

Plugins

Power Tools

Project Paths

Prompts

Script Paths

Secrets

Symbolic Links

Variables

Badges

Azure Pipelines      Discord - Chat      Slack - Chat      Codacy PowerShell Gallery      GitHub Releases      GitHub Releases

Clone this wiki locally