PSProfile v0.3.0
Changelog
0.3.0 - 2019-09-07
- Issue #15
- Added
Add-PSProfileToProfile
function to easily addImport-Module PSProfile
to your PowerShell profile.
- Added
- 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
- Added the following functions from the
- 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
toinvoke.build.ps1
.
- Cleaned up
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:
- Click here to download the PSProfile.zip file attached to the release.
- 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.
- Unzip the archive.
- (Optional) Place the module folder somewhere in your
PSModulePath
.You can view the paths listed by running the environment variable
$env:PSModulePath
- Import the module, using the full path to the PSD1 file in place of
PSProfile
if the unzipped module folder is not in yourPSModulePath
:# In $env:PSModulePath Import-Module PSProfile # Otherwise, provide the path to the manifest: Import-Module -Path C:\MyPSModules\PSProfile\\PSProfile.psd1