Skip to content

Releases: SCRT-HQ/PSProfile

PSProfile v0.1.9

27 Aug 04:43
Compare
Choose a tag to compare

Changelog

0.1.9 - 2019-08-26

  • Renamed Copy-DynamicParameters to Copy-Parameters for correctness and cleaned up approach for building the ParameterDictionary.
  • Updated Dockerfile to not run the Build task again since it should only run after module has been built.
  • Updated azure-pipelines.yml to break out Docker tasks

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

PSProfile v0.1.8

26 Aug 18:34
Compare
Choose a tag to compare

Changelog

0.1.8 - 2019-08-26

  • Fixed issue with $PSProfile.ModulesToImport where an empty string was added to the array, resulting in a Warning during profile load about the module failing to import.

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

PSProfile v0.1.7

25 Aug 06:53
eee1fba
Compare
Choose a tag to compare

Changelog

0.1.7 - 2019-08-25

  • Fixed Task parameter type on Start-BuildScript to allow an array of strings.

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

PSProfile v0.1.6

25 Aug 05:13
2b5d908
Compare
Choose a tag to compare

Changelog

0.1.6 - 2019-08-24

  • Added Copy-DynamicParameters to clone DynamicParams from another file or function.
  • Updated Start-BuildScript in PSProfile.PowerTools with better argument completers to enable listing available Tasks and other parameters directly from the build script you are executing.
  • Added Dockerfile to enable testing in an Ubuntu container.

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

PSProfile v0.1.5

23 Aug 03:43
Compare
Choose a tag to compare

Changelog

0.1.5 - 2019-08-22

  • Added Export-PSProfileConfiguration to export your configuration to a portable file.
  • Fixed bug with Edit-PSProfilePrompt that tried to run a non-existent function after editing was finished.
  • Swapped the Temporary switch parameter with Save on Edit-PSProfilePrompt to align with the rest of the functions.
  • Updated the _loadPrompt() method on the $PSProfile object to not force load a default prompt if a default prompt name has not been specified yet.
  • Updated README with better details.
  • Updated Wiki content.
  • Updated CONTRIBUTING.md.

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

PSProfile v0.1.4

22 Aug 06:58
Compare
Choose a tag to compare

Changelog

0.1.4 - 2019-08-22

  • Added conceptual HelpFiles. Run Get-Help about_PSProfile* for more info!
  • Added argument completer for Add-PSProfilePlugin
  • Updated Wiki content

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

PSProfile v0.1.3

21 Aug 05:35
Compare
Choose a tag to compare

Changelog

0.1.3 - 2019-08-20

  • Added Pop-Path to fix scope issues with Push-Path that effectively turned it into Set-Location
  • Added Confirm-ScriptIsValid to PSProfile.PowerTools
  • Added Test-RegEx to PSProfile.PowerTools
  • Changed ErrorAction on New-Alias call in $PSProfile._setCommandAliases() method.
  • Removed ForEach-Object alias from Open-Code
  • Added pwsh-preview exe resolver to Enter-CleanEnvironment as the wrapper cmd file does not handle the arguments correctly (throws non-terminated string error).

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

PSProfile v0.1.2

20 Aug 06:17
b67012f
Compare
Choose a tag to compare

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

PSProfile v0.1.1

19 Aug 21:17
Compare
Choose a tag to compare

Changelog

0.1.1 - 2019-08-19

  • Issue #3
    • Fixed: $PSProfile.Refresh() only uses Trim() to clean up the Prompts now due to Invoke-Formatter hanging.

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

PSProfile v0.1.0

19 Aug 06:33
Compare
Choose a tag to compare

Changelog

0.1.0 - 2019-08-19

  • Initial release to the PowerShell Gallery
  • Included functions:
    • Add-PSProfileCommandAlias
    • Add-PSProfileModuleToImport
    • Add-PSProfileModuleToInstall
    • Add-PSProfilePathAlias
    • Add-PSProfilePlugin
    • Add-PSProfileProjectPath
    • Add-PSProfilePrompt
    • Add-PSProfileScriptPath
    • Add-PSProfileSecret
    • Add-PSProfileSymbolicLink
    • Add-PSProfileVariable
    • Edit-PSProfilePrompt
    • Get-LastCommandDuration
    • Get-MyCreds
    • Get-PathAlias
    • Get-PSProfileArguments
    • Get-PSProfileCommand
    • Get-PSProfileCommandAlias
    • Get-PSProfileImportedCommand
    • Get-PSProfileLog
    • Get-PSProfileModuleToImport
    • Get-PSProfileModuleToInstall
    • Get-PSProfilePathAlias
    • Get-PSProfilePlugin
    • Get-PSProfileProjectPath
    • Get-PSProfilePrompt
    • Get-PSProfileScriptPath
    • Get-PSProfileSecret
    • Get-PSProfileSymbolicLink
    • Get-PSProfileVariable
    • Get-PSVersion
    • Import-PSProfile
    • Import-PSProfileConfiguration
    • Remove-PSProfileCommandAlias
    • Remove-PSProfileModuleToImport
    • Remove-PSProfileModuleToInstall
    • Remove-PSProfilePathAlias
    • Remove-PSProfilePlugin
    • Remove-PSProfileProjectPath
    • Remove-PSProfilePrompt
    • Remove-PSProfileScriptPath
    • Remove-PSProfileSecret
    • Remove-PSProfileSymbolicLink
    • Remove-PSProfileVariable
    • Save-PSProfile
    • Switch-PSProfilePrompt
    • Test-IfGit
    • Update-PSProfileConfig
    • Update-PSProfileRefreshFrequency
    • Update-PSProfileSetting
    • Write-PSProfileLog
  • Included aliases:
    • Creds >> Get-MyCreds
    • Edit-Prompt >> Edit-PSProfilePrompt
    • Get-Prompt >> Get-PSProfilePrompt
    • Load-PSProfile >> Import-PSProfile
    • Refresh-PSProfile >> Update-PSProfileConfig
    • Remove-Prompt >> Remove-PSProfilePrompt
    • Save-Prompt >> Add-PSProfilePrompt
    • Set-Prompt >> Switch-PSProfilePrompt
    • Switch-Prompt >> Switch-PSProfilePrompt

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