Skip to content

PSProfile v0.1.2

Compare
Choose a tag to compare
@scrthq scrthq released this 20 Aug 06:17
b67012f

Changelog

0.1.2 - 2019-08-20

  • Added *-PSProfilePluginPath functions to manage PluginPaths
  • Cleaned up PluginPath logic to remove old module versions from the search path.
  • Cleaned up Get-PSProfilePrompt and added a -NoPSSA switch to prevent usage of Invoke-Formatter regardless is PSScriptAnalyzer is installed.
  • Updated PSProfile.PowerTools included plugin.
  • Fixed issue with Add-PSProfileModuleToInstall and Add-PSProfileModuleToImport where it wouldn't rebuild the hashtable array correctly when adding modules to the PSProfile.
  • Added additional logic to build script.
  • Made PSProfile.PowerTools included in Plugins by default due to utility.
  • Cleaned up docs folder as it belongs in the Wiki, not the main repo.

Instructions

IMPORTANT: You MUST have the following modules installed as a prerequisite to using this module, otherwise the module will fail to import! Installing the module from the repo source or the release page does not automatically install dependencies!!

Module Dependencies:

  1. Click here to download the PSProfile.zip file attached to the release.
  2. If on Windows: Right-click the downloaded zip, select Properties, then unblock the file.

    This is to prevent having to unblock each file individually after unzipping.

  3. Unzip the archive.
  4. (Optional) Place the module folder somewhere in your PSModulePath.

    You can view the paths listed by running the environment variable $env:PSModulePath

  5. Import the module, using the full path to the PSD1 file in place of PSProfile if the unzipped module folder is not in your PSModulePath:
    # In $env:PSModulePath
    Import-Module PSProfile
    
    # Otherwise, provide the path to the manifest:
    Import-Module -Path C:\MyPSModules\PSProfile\0.1.2\PSProfile.psd1