Skip to content

Releases: SCRT-HQ/PSProfile

PSProfile v0.7.2.20211209

09 Dec 17:47
a4ad6fc
Compare
Choose a tag to compare

Changelog

0.7.2 - 2021-12-09

  • Miscellaneous
    • Updated: Tab-completion results only wrap completion text if the text contains any white-space or commas to improve completion results in normal PS history.

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\\PSProfile.psd1

PSProfile v0.7.1.20211117

17 Nov 06:55
fed0b9c
Compare
Choose a tag to compare

Changelog


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\\PSProfile.psd1

PSProfile v0.6.3.20200627

27 Jun 19:59
1814a27
Compare
Choose a tag to compare

Changelog


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\\PSProfile.psd1

PSProfile v0.6.1

04 Nov 22:04
Compare
Choose a tag to compare

Changelog

0.6.1 - 2019-11-04

  • Miscellaneous
    • Fixed: Errors thrown on functions Open-Code, Edit-PSProfileInitScript, & Edit-PSProfilePrompt when code-insiders is not installed

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\\PSProfile.psd1

PSProfile v0.6.0

02 Nov 17:11
21487ea
Compare
Choose a tag to compare

Changelog

0.6.0 - 2019-11-02

  • Issue #21 - Thank you @corbob!
    • Fixed: Project folder discovery logic to ensure that project folders with the same name are added to the dictionary without conflict.
  • Issue #22 - Thank you @corbob!
    • Added: WithInsiders switch parameter to Open-Code, Edit-PSProfilePrompt, and Edit-PSProfileInitScript.
  • Issue #23
    • Fixed: $PSProfile variable should exist regardless of when you import the module (removed conditional variable setting from PSM1).
  • Issue #26
    • Fixed: $PSProfile._globalize() internal method will now update $PSDefaultParameterValue to $global":PSDefaultParameterValue on InitScripts / ExternalScripts / etc so $PSDefaultParameterValue persists in the main session as intended.
  • Issue #27
    • Removed: Set-Prompt alias to prevent conflict with oh-my-posh module.
  • Issue #29
    • Fixed: Secrets now persist across refreshes and sessions as intended. Details:
      • Removed PSProfileVault class, replaced with pure hashtable.
      • Updated the Secrets management functions to work directly against the Vault hashtable.
  • Issue #31

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\\PSProfile.psd1

PSProfile v0.5.0

09 Oct 06:59
0532a48
Compare
Choose a tag to compare

Changelog

0.5.0 - 2019-10-08

  • Miscellaneous
    • Added FileWatcher event registration to update current $global:PSProfile object whenever the Configuration.psd1 file has changed, enabling configuration persistence across sessions. Configuration additions and removals from one PowerShell session will immediately be reflected in other active sessions.
    • Removed the persistence workaround the Save() method in favor of the Configuration.psd1 FileWatcher method.

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\\PSProfile.psd1

PSProfile v0.4.1

08 Oct 06:47
d340408
Compare
Choose a tag to compare

Changelog

0.4.1 - 2019-10-08

  • Miscellaneous
    • Added LastSave property to the primary PSProfile class
    • Added check on Save() method to pull in updated configuration if it has been saved from another session by comparing LastSave DateTime between the configuration and current $PSProfile.LastSave

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\\PSProfile.psd1

PSProfile v0.4.0

23 Sep 04:16
Compare
Choose a tag to compare

Changelog

0.4.0 - 2019-09-22

  • Issue #18
    • Added the following functions for Init Script management:
      • Add-PSProfileInitScript
      • Get-PSProfileInitScript
      • Remove-PSProfileInitScript
      • Enable-PSProfileInitScript
      • Disable-PSProfileInitScript
      • Edit-PSProfileInitScript
    • Added contextual help file about_PSProfile_Init_Scripts
    • Added Init Scripts section to Start-PSProfileConfigurationHelper
    • Updated PSProfile class to include Init Script support.
  • Miscellaneous
    • Updated Edit-PSProfilePrompt when choosing to Save PSProfile to ensure the updated prompt is written back to disk.
    • Updated invoke.build.ps1 for better contextual verbosity when compiling the module during the build process.

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\\PSProfile.psd1

PSProfile v0.3.0

08 Sep 04:44
Compare
Choose a tag to compare

Changelog

0.3.0 - 2019-09-07

  • Issue #15
    • Added Add-PSProfileToProfile function to easily add Import-Module PSProfile to your PowerShell profile.
  • Issue #16
    • Added the following functions from the PSProfile.PowerTools plugin to PSProfile directly:
      • Confirm-ScriptIsValid
      • Enter-CleanEnvironment
      • Format-Syntax
      • Get-Definition
      • Get-Gist
      • Get-LongPath
      • Install-LatestModule
      • Open-Code
      • Open-Item
      • Pop-Path
      • Push-Path
      • Start-BuildScript
      • Test-RegEx
    • Added HelpFile for Power Tools functions: Get-Help about_PSProfile_Power_Tools
    • Updated Start-PSProfileConfigurationHelper with Power Tools section
  • Miscellaneous
    • Cleaned up PSProfile class.
    • Updated alias list.
    • Updated module versioning strategy in build script.
    • Updated GitAliases plugin to only spawn 1 runspace in the background.
    • Fixed issue with Copy-Parameters where it would fail to pull parameters for commands with multiple parameter sets.
    • Updated Content.Tests.
    • Updated azure-pipelines YAML.
    • Renamed the InvokeBuild script from tasks.build.ps1 to invoke.build.ps1.

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\\PSProfile.psd1

PSProfile v0.2.0

03 Sep 03:20
72efe9e
Compare
Choose a tag to compare

Changelog

0.2.0 - 2019-09-02

  • Issue #2
    • Added special module import process when the ModuleToImport is EditorServicesCommandSuite so it also automatically registers the available editor commands.
  • Issue #12
    • Added Start-PSProfileConfigurationHelper to provide an easy way to get started with configuring your PSProfile.
  • Issue #6
    • Added PSReadline key to $PSProfile.Settings (Settings management in development still.)
  • Miscellaneous
    • Added support for multiple Command Aliases to be removed at once with Remove-PSProfileCommandAlias.
    • Updated default SCRTHQ prompt that comes with the module.
    • Added support for NerdFonts and PowerLine switches on the prompts to switch char sets depending on the FontType.
    • Added IncludeVault switch parameter to Export-PSProfileConfiguration to prevent exporting the Secrets Vault by default when creating portable configurations.
    • Added _cleanModules() method to PSProfile class to remove any null or empty values hanging over and convert any string values to the full hashtable value instead.
    • Cleaned up logic and fixed bugs in the following functions:
      • Add-PSProfileModuleToImport
      • Remove-PSProfileModuleToImport
      • Add-PSProfileModuleToInstall
      • Remove-PSProfileModuleToInstall
      • Add-PSProfilePlugin
    • Updated CONTRIBUTING.md with snippet to include for PSProfile developers on their PowerShell profile.
    • Refactored Get-PSProfilePrompt to return $null if a name is specified but does not exist on the current PSProfile configuration.
    • Refactored $PSProfile._loadConfiguration() to start with the base value of $Global:PSProfile if present, otherwise import the existing configuration from file. This is necessary to retain the existing configuration if an action is taken that forces the PSProfile to reload, e.g. adding a new plugin to the configuration.
    • Updated $PSProfile._loadPrompt() method to set the value of $function:prompt directly instead of calling Switch-PSProfilePrompt to reduce overhead.

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.2.0\PSProfile.psd1