PowerShell Profiles is a repository containing PowerShell profiles which I use for different environments. The purpose of this repository is to provide a way to restore PowerShell configurations for different environments.
- The following scripts require PowerShell v5.1.
The profile scripts must renamed to profile.ps1 and be placed in the directory designated by the global PowerShell variable $PROFILE.CurrentUserAllHosts
. A profile can be manually copied over or instead the migrator.ps1 script can be used to automatically copy the script to the appropriate profile location for PowerShell. By default, the migrator.ps1 script will copy a specified script in the current repository to $PROFILE.CurrentUserAllHosts
and rename the script to profile.ps1. The destination of the script and the new name of the script can be changed.
Edmond Weiss