This is just my PowerShell profile as it is evolving. You can feel free to poach or make suggestions.
I try very hard to maintain compatibility between PowerShell 5.x and PowerShell Core. When that is not possible, stanzas are guarded by version checks so that I do not have to maintain separate profiles.