This brings me back to the main point. My profile does 3 things
- Changes the default colour of error and warning messages,
- Sets an alias for notepad to “n” since I use it so much
Set-Alias -Name n -Value notepad, and
- loads up the dbatools prompt
I don’t import any modules because the two that I use the most are updated so frequently plus I’m currently using PowerShell 5 so they get automatically loaded when I type in one of their commands.
If you don’t already have a profile, read on and see how you can do it. And over-do it if you’re not careful.