Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Custom Profiles #18

Open
rawhuul opened this issue Sep 5, 2023 · 2 comments
Open

Feature Request: Custom Profiles #18

rawhuul opened this issue Sep 5, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@rawhuul
Copy link

rawhuul commented Sep 5, 2023

Hey, there powershell supports for custom ps1 file to load at startup using flag -PSConsoleFile which would be beneficial

@cfsamson
Copy link
Owner

Thanks for the suggestion. It might be one of the options we could set in PsScriptBuilder. The only issue is that we have a no_profile option already, and I assume it would be problematic to specify both. The solution could possibly be to remove the no_profile option and change it to a profile(None) instead, and if you want to specify a profile you could load it from a file profile(Some("path")).

Either way, I think this would require a breaking change and might need to wait for a major update.

@rawhuul
Copy link
Author

rawhuul commented Sep 18, 2023

indeed it will break the current version, but it would be a great feature to add

@cfsamson cfsamson added the enhancement New feature or request label Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants