Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add function to easily add Import-Module PSProfile to your $profile #15

Closed
scrthq opened this issue Sep 5, 2019 · 0 comments
Closed
Assignees
Labels
enhancement New feature or request ready for release Development of this fix/feature is complete and ready for release

Comments

@scrthq
Copy link
Member

scrthq commented Sep 5, 2019

Name: Add-PSProfileToProfile
Synopsis: Adds 'Import-Module PSProfile -ArgumentList $ArgumentList' to the desired $profile file
Parameters:
  - Scope:
    - CurrentUserCurrentHost (default)
    - CurrentUserAllHosts
    - AllUsersCurrentHost
    - CurrentUserAllHosts
  - DisableLoadTimeMessage
@scrthq scrthq added the enhancement New feature or request label Sep 5, 2019
@scrthq scrthq added this to the Future milestone Sep 5, 2019
@scrthq scrthq self-assigned this Sep 5, 2019
@scrthq scrthq changed the title Add function to automatically add Import-Module PSProfile to your $profile Add function to easily add Import-Module PSProfile to your $profile Sep 5, 2019
@scrthq scrthq modified the milestones: Future, v0.3.0 Release Sep 5, 2019
@scrthq scrthq added the ready for release Development of this fix/feature is complete and ready for release label Sep 7, 2019
scrthq added a commit that referenced this issue Sep 8, 2019
## 0.3.0 - 2019-09-07

* [Issue #15](#15)
  * Added `Add-PSProfileToProfile` function to easily add `Import-Module PSProfile` to your PowerShell profile.
* [Issue #16](#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`.
scrthq added a commit that referenced this issue Sep 8, 2019
## 0.3.0 - 2019-09-07

* [Issue #15](#15)
  * Added `Add-PSProfileToProfile` function to easily add `Import-Module PSProfile` to your PowerShell profile.
* [Issue #16](#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`.
scrthq added a commit that referenced this issue Sep 8, 2019
## 0.3.0 - 2019-09-07

* [Issue #15](#15)
  * Added `Add-PSProfileToProfile` function to easily add `Import-Module PSProfile` to your PowerShell profile.
* [Issue #16](#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`.
@scrthq scrthq closed this as completed Sep 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request ready for release Development of this fix/feature is complete and ready for release
Projects
None yet
Development

No branches or pull requests

1 participant