PSProfile v0.4.0
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.
- Added the following functions for Init Script management:
- 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.
- Updated
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