Hey all, I come from bash and zsh and i’m generally used to tailoring and customizing my experience to what suits me. I want to do the same for my work laptop. I have created a profile.ps1 but due to constrained language mode I cant seem to set aliases or functions because it cant dot source it. What are some viable alternatives? Disclaimer, I’m not looking to bypass the security and policies set here, just alternatives to try and make the experience easier
I’ve never had to work in constrainedlanguagemode before and wasn’t even aware of its existence before finding your post.
What are some examples of things you would like to do that it’s preventing?
Is it just dot-sourcing your ps1? Does constrainedlanguagemode block the default profiles from loading too?
https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_profiles?view=powershell-7.3
I actually “