r/PowerShell • u/iykecode • Dec 01 '25
PowerShell Profile
What cool things have you done with your profile?
10
Upvotes
r/PowerShell • u/iykecode • Dec 01 '25
What cool things have you done with your profile?
View all comments
6
u/Kirsh1793 Dec 01 '25
At my job, I work in multiple environments. I set up a .psd1 config file and wrote a profile script that works in all environments. It defines a customizable prompt (no OhMyPosh at work, sadly), sets PSDefaultParameterValues for my own and some third party modules, loads WIP modules, updates help in a background job triggering a notification when that's done, and loads defined variables. It takes between 2-4 seconds to load.