-
Notifications
You must be signed in to change notification settings - Fork 8
Init Scripts
An overview of the Init Scripts concept in PSProfile.
Init Scripts are stored as hashtable in the PSProfile
object property $PSProfile.InitScripts
.
Each Init Script is referenced by a friendly name and can be enabled or disabled individually. Init Scripts are invoked directly from the PSProfile configuration, so no external script paths are required!
Adds a new Init Script to your PSProfile.
Gets an Init Script or the list of Init Scripts from your PSProfile configuration.
Removes an Init Script from your PSProfile.
Enables a disabled Init Script on your PSProfile configuration so it is invoked during your next PSProfile import.
Disables an enabled Init Script on your PSProfile configuration so it is not invoked during your next PSProfile import.
Opens the desired Init Script in Visual Studio Code for editing, then saves the edited file back to your PSProfile configuration once closed in Code.
- Command Aliases
- Configuration
- Helpers
- Init Scripts
- Meta
- Modules to Import
- Modules to Install
- Path Aliases
- Plugin Paths
- Plugins
- Power Tools
- Project Paths
- Prompts
- Script Paths
- Secrets
- Symbolic Links
- Variables
- Export-PSProfileConfiguration
- Import-PSProfile
- Import-PSProfileConfiguration
- Save-PSProfile
- Start-PSProfileConfigurationHelper
- Update-PSProfileConfig
- Update-PSProfileRefreshFrequency
- Update-PSProfileSetting
- Add-PSProfileToProfile
- Copy-Parameters
- Get-LastCommandDuration
- Get-PathAlias
- Get-PSProfileArguments
- Get-PSVersion
- Test-IfGit
- Write-PSProfileLog
- Add-PSProfileInitScript
- Disable-PSProfileInitScript
- Edit-PSProfileInitScript
- Enable-PSProfileInitScript
- Get-PSProfileInitScript
- Remove-PSProfileInitScript
- 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
- Add-PSProfilePrompt
- Edit-PSProfilePrompt
- Get-PSProfilePrompt
- Remove-PSProfilePrompt
- Switch-PSProfilePrompt