After reading the blog post from Mike F. Robbins about how to use symlinks to version-control your PowerShell profile with Git I merged all my PowerShell profiles into one. It satisfies my requirements and is not too fancy to work on all machines I need.
Feel free to use it as it is or as inspiration for your own code. π€πΌπ
To create the symlinks for PowerShell and Windows PowerShell start either console elevated, change working directory to where the profile script is and run CreateSymlink.ps1
.
Mike's Blog Post: Use symlinks to version-control your PowerShell profile with Git
See the LICENSE file for license rights and limitations (GPL-3.0).