-
Notifications
You must be signed in to change notification settings - Fork 8
Configuration
An overview of the Configuration functions in PSProfile.
PSProfile contains certain functions aimed at managing the PSProfile configuration itself. These are primarily wrapping methods on the PSProfile object directly for convenience.
Exports the PSProfile configuration to the desired path for portability.
Any secrets stored in the $PSProfile.Vault
will be exported, but
will be unable to be decrypted on another machine or by another user on
the same machine due to encryption via Data Protection API.
Invokes $PSProfile.Load()
to run through the actions typically performed
during the initial import of PSProfile. Useful when adding new items to
PSProfile mid-session.
Used when importing a non-standard configuration from a specific path, e.g. one you have migrated from another machine.
Invokes $PSProfile.Save()
to save your current PSProfile object back
to the Configuration file.
Invokes $PSProfile.Refresh()
which runs PSProfile tasks that are not
intended to run often, such as Project Path discovery or module
installation. This is normally done on a specified
frequency (default is 1 hour), calling this function will refresh your
PSProfile on command. Useful if you've just updated your PSProfile and
would like to refresh it's configuration to reflect the new addition.
Updates the Refresh Frequency for PSProfile. Refreshes are performed during the next PSProfile load after the Refresh Frequency timespan has passed since the last refresh, e.g. if your last refresh was greater than 1 hour ago and your Refresh Frequency is set to 01:00:00, a refresh will occur during the next PSProfile load automatically.
Allows updating a specific setting directly on your PSProfile.
- 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